vagrant-hitch 0.0.5 → 0.0.6
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/lib/vagrant-hitch.rb +3 -3
- data/vagrant-hitch.gemspec +1 -1
- metadata +1 -1
data/lib/vagrant-hitch.rb
CHANGED
|
@@ -45,9 +45,8 @@ module VagrantHitch
|
|
|
45
45
|
config.vm.box_url = node_config['vbox_url']
|
|
46
46
|
|
|
47
47
|
# Configure Hostname
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
end
|
|
48
|
+
hostname = node_config.has_key?('orgname') ? "#{profile.to_s}.#{node_config['orgname']}" : "#{profile.to_s}.vagrant"
|
|
49
|
+
config.vm.host_name = hostname
|
|
51
50
|
|
|
52
51
|
if node_config.has_key?('guest')
|
|
53
52
|
config.vm.guest = node_config['guest']
|
|
@@ -114,6 +113,7 @@ module VagrantHitch
|
|
|
114
113
|
|
|
115
114
|
config.vm.provision :puppet_server do |puppet|
|
|
116
115
|
puppet.puppet_server = node_config['puppet_server']['server']
|
|
116
|
+
puppet.puppet_node = hostname
|
|
117
117
|
|
|
118
118
|
# Setup Puppet Graphing
|
|
119
119
|
if node_config['puppet_server']['options'].include?('--graph')
|
data/vagrant-hitch.gemspec
CHANGED