vagrant-hosts 1.1.2 → 1.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/CHANGELOG CHANGED
@@ -1,6 +1,14 @@
1
1
  CHANGELOG
2
2
  =========
3
3
 
4
+ 1.1.3
5
+ -----
6
+
7
+ 2013-08-08
8
+
9
+ * Update config_builder provisioner model registration syntax
10
+ * GH-9 Use correct machine host for each /etc/hosts entry
11
+
4
12
  1.1.2
5
13
  -----
6
14
 
@@ -25,7 +25,7 @@ module VagrantHosts
25
25
  end
26
26
  end
27
27
 
28
- ::ConfigBuilder::ModelCollection.provisioner.register('hosts', self)
28
+ ::ConfigBuilder::Model::Provisioner.register('shell', self)
29
29
  end
30
30
  end
31
31
  end
@@ -64,9 +64,9 @@ class VagrantHosts::Provisioner::Linux
64
64
  m_hostname = m.config.vm.hostname
65
65
 
66
66
  m_networks.each do |(net_type, opts)|
67
- next unless net_types == :private_network
67
+ next unless net_type == :private_network
68
68
  addr = opts[:ip]
69
- hosts << [addr, [m_hostname, @machine.name]]
69
+ hosts << [addr, [m.name, m_hostname]]
70
70
  end
71
71
  end
72
72
 
@@ -1,3 +1,3 @@
1
1
  module VagrantHosts
2
- VERSION = '1.1.2'
2
+ VERSION = '1.1.3'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-hosts
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.2
4
+ version: 1.1.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: