Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: 0f9a2adc29
Fetching contributors…

Cannot retrieve contributors at this time

51 lines (47 sloc) 2.667 kB
Vagrant::Config.run do |config|
config.vm.define :node1 do |config|
#config.vm.boot_mode = "gui"
config.vm.host_name = "node1.example.org"
config.vm.box = "ganeti-debian-7-20120921"
config.vm.box_url = "http://ftp.osuosl.org/pub/osl/ganeti-tutorial/ganeti-debian-7-20120921.box"
config.vm.customize ["modifyvm", :id, "--memory", 512]
config.vm.share_folder "v-root", "/vagrant", "../", :owner => "vagrant", :group => "vagrant"
config.vm.network(:hostonly, "33.33.33.11", :adapter => 2, :auto_config => false)
config.vm.network(:hostonly, "33.33.34.11", :adapter => 3, :auto_config => false)
config.vm.provision :puppet do |puppet|
puppet.manifests_path = "../modules/ganeti_tutorial/nodes"
puppet.module_path = "../modules"
puppet.manifest_file = "node1.pp"
end
end
config.vm.define :node2 do |config|
#config.vm.boot_mode = "gui"
config.vm.host_name = "node2.example.org"
config.vm.box = "ganeti-debian-7-20120921"
config.vm.box_url = "http://ftp.osuosl.org/pub/osl/ganeti-tutorial/ganeti-debian-7-20120921.box"
config.vm.customize ["modifyvm", :id, "--memory", 512]
config.vm.share_folder "v-root", "/vagrant", "../", :owner => "vagrant", :group => "vagrant"
config.vm.network(:hostonly, "33.33.33.12", :adapter => 2, :auto_config => false)
config.vm.network(:hostonly, "33.33.34.12", :adapter => 3, :auto_config => false)
config.vm.provision :puppet do |puppet|
puppet.manifests_path = "../modules/ganeti_tutorial/nodes"
puppet.module_path = "../modules"
puppet.manifest_file = "node2.pp"
end
end
config.vm.define :node3 do |config|
#config.vm.boot_mode = "gui"
config.vm.host_name = "node3.example.org"
config.vm.box = "ganeti-debian-7-20120921"
config.vm.box_url = "http://ftp.osuosl.org/pub/osl/ganeti-tutorial/ganeti-debian-7-20120921.box"
config.vm.customize ["modifyvm", :id, "--memory", 512]
config.vm.share_folder "v-root", "/vagrant", "../", :owner => "vagrant", :group => "vagrant"
config.vm.network(:hostonly, "33.33.33.13", :adapter => 2, :auto_config => false)
config.vm.network(:hostonly, "33.33.34.13", :adapter => 3, :auto_config => false)
config.vm.provision :puppet do |puppet|
puppet.manifests_path = "../modules/ganeti_tutorial/nodes"
puppet.module_path = "../modules"
puppet.manifest_file = "node3.pp"
end
end
end
Jump to Line
Something went wrong with that request. Please try again.