forked from holycattle/angular-momentum
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathVagrantfile
More file actions
20 lines (18 loc) · 815 Bytes
/
Vagrantfile
File metadata and controls
20 lines (18 loc) · 815 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#-*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant::Config.run do |config|
module_path = ["puppet/modules", "puppet/vendor_modules"]
config.vm.box = "ubuntu-precise-32"
config.vm.box_url = "http://files.vagrantup.com/precise32.box"
config.vm.customize ["modifyvm", :id, "--memory", 128]
config.vm.share_folder "angular-momentum", "/home/vagrant/angular-momentum", ".", :nfs => true
config.vm.share_folder "angular-momentum-nginx", "/var/www/angular-momentum", ".", :nfs => true
config.vm.network :hostonly, "172.16.0.41"
config.vm.forward_port 80, 8000
config.vm.forward_port 8080, 8080
config.vm.provision :puppet, :module_path => module_path do |puppet|
puppet.manifests_path = "puppet"
puppet.manifest_file = "angular-momentum.pp"
end
config.vm.host_name = "angular-momentum"
end