Last active
August 29, 2015 14:02
-
-
Save joshuacalloway/5192401a1eeb287fc4aa to your computer and use it in GitHub Desktop.
base Vagrantfile - for stackoverflow question
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
VAGRANTFILE_API_VERSION = "2" | |
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| | |
config.vm.box = "centos6.5" | |
config.vm.box_url = "https://github.com/2creatives/vagrant-centos/releases/download/v6.5.3/centos65-x86_64-20140116.box" | |
config.vm.post_up_message = "vagrant ssh - will log you into the machine\nvagrant package --base base --output ../base.box - will create a retel-base vagrant box" | |
config.vm.provider :virtualbox do |v, override| | |
v.name = "base" | |
end | |
config.vm.provision "shell", inline: "puppet module install --force camptocamp-archive" | |
config.vm.provision "shell", inline: "puppet module install --force puppetlabs-stdlib" | |
config.vm.provision "shell", inline: "puppet module install --force maestrodev-wget" | |
# change stuff like /etc/sudoers | |
config.vm.provision :puppet do |puppet| | |
puppet.manifest_file = "default.pp" | |
puppet.manifests_path = "manifests" | |
puppet.module_path = "modules" | |
end | |
end |
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.configure("2") do |config| | |
config.vm.box = "base" | |
config.vm.box_url = "../base.box" | |
config.vm.post_up_message = "vagrant ssh - will log you into the machine" | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment