Last active
August 29, 2015 14:03
-
-
Save spuder/9508ca074c3ce940be04 to your computer and use it in GitHub Desktop.
Spencers standard go to vagrant file, includes 3 major releases
This file contains hidden or 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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing! | |
VAGRANTFILE_API_VERSION = "2" | |
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| | |
config.vm.synced_folder "../", "/vagrant_data" # Mount directory up a level so puppet module list can find modules | |
config.vm.synced_folder ".", "/vagrant" | |
#config.vm.network "forwarded_port", guest: 8080, host: 8080 | |
config.vm.network :private_network, type: "dhcp" | |
config.vm.provider :virtualbox do |vb| | |
vb.customize ["modifyvm", :id, "--memory", "2048"] | |
end | |
config.vm.define "centos", primary: true do |centosbox| | |
centosbox.vm.box = "centos-6_5-x64-virtualbox_4_3-plain" | |
centosbox.vm.box_url = "http://puppet-vagrant-boxes.puppetlabs.com/centos-65-x64-virtualbox-puppet.box" | |
end | |
config.vm.define "ubuntu-precise", autostart: false do |ubuntu_precise| | |
ubuntu_precise.vm.box = "ubuntu/precise64" | |
end | |
config.vm.define "ubuntu-trusty", autostart: false do |ubuntu_trusty| | |
ubuntu_trusty.vm.box = "ubuntu/trusty64" | |
end | |
config.vm.define "sles", autostart: false do |slesbox| | |
slesbox.vm.box = "sles-11_sp1-x64-virtualbox_4_2_10-plain" | |
slesbox.vm.box_url = "http://puppet-vagrant-boxes.puppetlabs.com/sles-11sp1-x64-vbox4210.box" | |
end | |
config.vm.define "debian", autostart: false do |debianbox| | |
debianbox.vm.box = "debian-7_3-x64-virtualbox_4_3-plain" | |
debianbox.vm.box_url = "http://puppet-vagrant-boxes.puppetlabs.com/debian-73-x64-virtualbox-puppet.box" | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment