-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathVagrantfile
More file actions
38 lines (28 loc) · 933 Bytes
/
Vagrantfile
File metadata and controls
38 lines (28 loc) · 933 Bytes
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
29
30
31
32
33
34
35
36
37
38
# -*- mode: ruby -*-
# vi: set ft=ruby :
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.hostname = "python-dev-vm"
config.vm.network "forwarded_port", guest: 80, host: 8080
config.vm.box = "ubuntu/trusty64"
#shared
config.vm.synced_folder "./projects", "/projects", type: 'nfs'
#virtualbox
if defined? VagrantVbguest
config.vbguest.auto_update = true
end
config.vm.provision "shell" do |sh|
sh.path = "./bin/bootstrap.sh"
end
config.vm.provider :virtualbox do |vb|
vb.customize ["modifyvm", :id, "--natdnshostresolver1", "on"]
vb.customize ["modifyvm", :id, "--memory", "1024"]
end
config.vm.provision :puppet do |puppet|
puppet.manifests_path = "./manifests"
puppet.manifest_file = "site.pp"
puppet.module_path = "./modules"
puppet.options = "--verbose --debug"
#puppet.options = "--verbose --noop"
end
end