-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathVagrantfile.example
30 lines (22 loc) · 1.05 KB
/
Vagrantfile.example
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
# sample vagrantfile - make sure you adjust line 19 - line 23 to point to your puppet manifests.
# i like to put them under '.puppet', so that they are version controlled etc. But do as you please!
Vagrant.configure("2") do |config|
config.vm.guest = :debian
config.vm.box = "bl-wheezy64.1405"
config.vm.box_url = "http://dl.interokedigital.co.uk/vagrant-boxes/bl-wheezy64.1405.box"
# needed for nfs shares
config.vm.network :private_network, ip: "33.33.33.10"
config.vm.network :forwarded_port, guest: 8080, host: 8080, auto_correct: true
config.vm.network :forwarded_port, guest: 3306, host: 3306, auto_correct: true
#config.vm.synced_folder ".", "/vagrant"
config.vm.synced_folder ".", "/vagrant", :nfs => true
config.vm.provision :puppet do |puppet|
puppet.manifests_path = ".puppet/manifests"
puppet.manifest_file = "base.pp"
puppet.module_path = ".puppet/modules"
end
config.vm.provider :virtualbox do |vb|
vb.customize ["modifyvm", :id, "--rtcuseutc", "on"]
vb.customize ["modifyvm", :id, "--memory", 512]
end
end