Skip to content

Instantly share code, notes, and snippets.

@skoop
Created May 14, 2013 15:25
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 skoop/5576808 to your computer and use it in GitHub Desktop.
Save skoop/5576808 to your computer and use it in GitHub Desktop.
Vagrantfile
Vagrant.configure("2") do |config|
config.vm.box = "precise64"
config.vm.box_url = "http://files.vagrantup.com/precise64.box"
config.vm.network :private_network, ip: "192.168.56.101"
config.ssh.forward_agent = true
config.vm.provider :virtualbox do |v|
v.customize ["modifyvm", :id, "--natdnshostresolver1", "on"]
v.customize ["modifyvm", :id, "--memory", 1024]
end
config.vm.synced_folder "./", "/var/www", id: "vagrant-root"
config.vm.provision :puppet do |puppet|
puppet.manifests_path = "manifests"
puppet.module_path = "modules"
puppet.options = ['--verbose']
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment