vagrant/Vagrantfile
Vagrant.require_version ">= 1.4.0"
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: "10.0.0.215"
config.ssh.forward_agent = true
config.vm.provider :virtualbox do |v|
v.customize ["modifyvm", :id, "--natdnshostresolver1", "on"]
v.customize ["modifyvm", :id, "--memory", 1024]
v.customize ["modifyvm", :id, "--name", "composer service"]
end
config.vm.synced_folder "./../", "/var/www/composer-service", type: "nfs", nfs_udp: false
config.vm.provision :shell do |shell|
shell.path = "shell/bootstrap.sh"
end
config.vm.provision :puppet do |puppet|
puppet.manifests_path = "manifests"
puppet.options = ["--verbose"]
end
end