Skip to content

Instantly share code, notes, and snippets.



Forked from lorn/Vagrantfile
Last active Oct 14, 2020
What would you like to do?
brew cask install virtualbox vagrant
vagrant plugin install vagrant-cachier
vagrant plugin install vagrant-hostmanager
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
config.vm.provider :virtualbox do |vb| = "ubuntu.local"
vb.customize [ 'modifyvm', :id, '--memory', '512' ]
vb.customize [ 'modifyvm', :id, '--cpus', '1' ]
end :private_network, ip: ""
config.vm.synced_folder "/Users/dserodio/Projetos", "/code" = "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"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment