Created
May 21, 2013 18:30
-
-
Save mrzarquon/5622116 to your computer and use it in GitHub Desktop.
My sample vagrant file for three hosts with our -nocm boxes May have to update it for Vagrant 1.1/1.2, http://docs.vagrantup.com/v2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Vagrant::Config.run do |config| | |
#config.vm.box = "base" | |
config.vm.define :master do |master_config| | |
master_config.vm.box = "ubuntu-12.04.2-server-amd64-vbox-428-nocm.box" | |
master_config.vm.box_url = "http://puppet-vagrant-boxes.puppetlabs.com/ubuntu-server-12042-x64-vbox4210-nocm.box" | |
master_config.vm.forward_port 443,8443 | |
master_config.vm.forward_port 22,20022 | |
master_config.vm.network :hostonly, "172.16.253.5" | |
master_config.vm.share_folder("modules", "/modules", "./modules") | |
end | |
config.vm.define :ubuntu do |ubuntu_config| | |
ubuntu_config.vm.box = "ubuntu-12.04.2-server-amd64-vbox-428-nocm.box" | |
ubuntu_config.vm.box_url = "http://puppet-vagrant-boxes.puppetlabs.com/ubuntu-server-12042-x64-vbox4210-nocm.box" | |
ubuntu_config.vm.forward_port 22,20023 | |
ubuntu_config.vm.network :hostonly, "172.16.253.10" | |
end | |
config.vm.define :centos do |centos_config| | |
centos_config.vm.box = "centos-64-x64-vbox4210-nocm.box" | |
centos_config.vm.box_url = "http://puppet-vagrant-boxes.puppetlabs.com/centos-64-x64-vbox4210-nocm.box" | |
centos_config.vm.forward_port 22,20024 | |
centos_config.vm.network :hostonly, "172.16.253.15" | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment