dserodio
6/14/2013 - 10:23 PM

Vagrantfile

Vagrantfile

# -*- 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
brew cask install virtualbox vagrant
vagrant plugin install vagrant-cachier
vagrant plugin install vagrant-hostmanager