Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 7 additions & 5 deletions example2/Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,11 @@ Vagrant::Config.run do |config|
config.vm.host_name = hostname + '.' + domain
config.vm.network :hostonly, ip

config.vm.customize [
'modifyvm', :id,
'--name', hostname,
'--memory', ram
]
config.vm "virtualbox" do |v|
v.customize[
'modifyvm', :id,
'--name', node[:hostname],
'--memory', memory.to_s
]
end
end
12 changes: 7 additions & 5 deletions example3/Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,13 @@ Vagrant::Config.run do |config|
config.vm.host_name = hostname + '.' + domain
config.vm.network :hostonly, ip

config.vm.customize [
'modifyvm', :id,
'--name', hostname,
'--memory', ram
]
config.vm "virtualbox" do |v|
v.customize[
'modifyvm', :id,
'--name', node[:hostname],
'--memory', memory.to_s
]
end

config.vm.provision :puppet do |puppet|
puppet.manifests_path = 'puppet/manifests'
Expand Down
12 changes: 7 additions & 5 deletions example4/Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,13 @@ Vagrant::Config.run do |config|
config.vm.host_name = hostname + '.' + domain
config.vm.network :hostonly, ip

config.vm.customize [
'modifyvm', :id,
'--name', hostname,
'--memory', ram
]
config.vm "virtualbox" do |v|
v.customize[
'modifyvm', :id,
'--name', node[:hostname],
'--memory', memory.to_s
]
end

config.vm.provision :puppet do |puppet|
puppet.manifests_path = 'puppet/manifests'
Expand Down
12 changes: 7 additions & 5 deletions example5/Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,13 @@ Vagrant::Config.run do |config|
config.vm.host_name = hostname + '.' + domain
config.vm.network :hostonly, ip

config.vm.customize [
'modifyvm', :id,
'--name', hostname,
'--memory', ram
]
config.vm "virtualbox" do |v|
v.customize[
'modifyvm', :id,
'--name', node[:hostname],
'--memory', memory.to_s
]
end

config.vm.provision :puppet do |puppet|
puppet.manifests_path = 'puppet/manifests'
Expand Down
12 changes: 7 additions & 5 deletions example6/Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,13 @@ Vagrant::Config.run do |config|
node_config.vm.network :hostonly, node[:ip]

memory = node[:ram] ? node[:ram] : 256;
node_config.vm.customize [
'modifyvm', :id,
'--name', node[:hostname],
'--memory', memory.to_s
]
node_config.vm "virtualbox" do |v|
v.customize[
'modifyvm', :id,
'--name', node[:hostname],
'--memory', memory.to_s
]
end
end
end

Expand Down
12 changes: 7 additions & 5 deletions example7/Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,13 @@ Vagrant::Config.run do |config|
node_config.vm.network :hostonly, node[:ip]

memory = node[:ram] ? node[:ram] : 256;
node_config.vm.customize [
'modifyvm', :id,
'--name', node[:hostname],
'--memory', memory.to_s
]
node_config.vm "virtualbox" do |v|
v.customize[
'modifyvm', :id,
'--name', node[:hostname],
'--memory', memory.to_s
]
end
end
end

Expand Down