Skip to content

Instantly share code, notes, and snippets.

@dserodio

dserodio/Vagrantfile

Forked from lorn/Vagrantfile
Last active Oct 14, 2020
Embed
What would you like to do?
Vagrantfile
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|
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