Skip to content

Instantly share code, notes, and snippets.

@dserodio
Forked from lorn/Vagrantfile
Last active October 14, 2020 12:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dserodio/5785746 to your computer and use it in GitHub Desktop.
Save dserodio/5785746 to your computer and use it in GitHub Desktop.
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