-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathVagrantfile
30 lines (25 loc) · 923 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
29
30
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
config.vm.hostname = "debian-squeeze"
config.vm.box = "debian-squeeze"
config.vm.box_url = "https://dl.dropboxusercontent.com/u/13054557/vagrant_boxes/debian-squeeze.box"
config.vm.network :private_network, ip: "192.168.56.101"
config.ssh.forward_agent = true
config.vm.synced_folder "./", "/var/www", id: "vagrant-root", :nfs => true
config.vm.provision "chef_solo" do |chef|
chef.add_recipe "lampapp"
chef.cookbooks_path = "vagrant/cookbooks"
chef.json.merge!({
:lampapp => {
:name => "ccontacts",
:password => "foobar",
:ip => "192.168.56.101",
:path => "public",
},
:php => {
:directives => {"date.timezone" => "Europe/Zagreb"}
}
})
end
end