-
-
Save dserodio/5785746 to your computer and use it in GitHub Desktop.
Vagrantfile
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
brew cask install virtualbox vagrant | |
vagrant plugin install vagrant-cachier | |
vagrant plugin install vagrant-hostmanager |
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 : | |
Vagrant.configure("2") do |config| | |
config.vm.provider :virtualbox do |vb| | |
vb.name = "ubuntu.local" | |
vb.customize [ 'modifyvm', :id, '--memory', '512' ] | |
vb.customize [ 'modifyvm', :id, '--cpus', '1' ] | |
end | |
config.vm.network :private_network, ip: "192.168.0.11" | |
config.vm.synced_folder "/Users/dserodio/Projetos", "/code" | |
config.vm.box = "precise64" | |
config.vm.hostname = "ubuntu.local" | |
## vagrant plugin install vagrant-vbguest | |
# set auto_update to false, if do NOT want to check the correct additions | |
# version when booting this machine | |
config.vbguest.auto_update = false | |
## vagrant plugin install vagrant-cachier | |
config.cache.auto_detect = true | |
config.vm.provision :puppet do |puppet| | |
puppet.manifests_path = "puppet/manifests" | |
puppet.manifest_file = "site.pp" | |
puppet.module_path = "puppet/modules" | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment