forked from AnthonyNystrom/python-dev-bootstrap
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathVagrantfile
28 lines (22 loc) · 773 Bytes
/
Vagrantfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
Vagrant.configure("2") do |config|
config.vm.box = 'PythonDevBootstrapPrecise'
config.vm.box_url = "http://files.vagrantup.com/precise32.box"
#network
config.vm.network :private_network, ip: "192.168.33.10"
#config.vm.network :forwarded_port, guest: 8000, host: 8000
#shared
config.vm.synced_folder "./projects", "/projects"
#virtualbox
if defined? VagrantVbguest
config.vbguest.auto_update = true
end
config.vm.provider :virtualbox do |vb|
vb.customize ["modifyvm", :id, "--natdnshostresolver1", "on"]
vb.customize ["modifyvm", :id, "--memory", "512"]
end
config.vm.provision :puppet do |puppet|
puppet.manifests_path = "manifests"
puppet.manifest_file = "init.pp"
puppet.options = "--verbose --debug"
end
end