-
Notifications
You must be signed in to change notification settings - Fork 0
/
Vagrantfile
98 lines (79 loc) · 2.8 KB
/
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
# -*- mode: ruby -*-
# vi: set ft=ruby :
# Fork of tierra's wp-vagrants
# https://github.com/tierra/wp-vagrant
Vagrant.configure("2") do |config|
config.vm.define 'php52', primary: true do |node|
node.vm.box = 'tierra/wordpress-php52'
node.vm.hostname = 'php52.dev'
node.vm.network :private_network, ip: '192.168.167.9'
config.vm.synced_folder "public/", "/var/www"
node.vm.provider :virtualbox do |vb|
vb.customize [
'modifyvm', :id,
'--memory', '512',
]
end
end
config.vm.define 'php53', autostart: false do |node|
node.vm.box = 'puppetlabs/ubuntu-12.04-64-puppet'
node.vm.hostname = 'php53.dev'
node.vm.network :private_network, ip: '192.168.167.10'
config.vm.synced_folder "public/", "/var/www"
node.vm.provider :virtualbox do |vb|
vb.customize [
'modifyvm', :id,
'--memory', '512',
]
end
node.vm.provision :shell, :path => "lib/puppet/bootstrap.sh"
node.vm.provision :puppet do |puppet|
puppet.facter = { 'fqdn' => node.vm.hostname }
puppet.manifests_path = "lib/puppet/manifests"
puppet.manifest_file = "wordpress-php53.pp"
end
end
config.vm.define 'php54', autostart: false do |node|
node.vm.box = 'tierra/wordpress-php54'
node.vm.hostname = 'php54.dev'
node.vm.network :private_network, ip: '192.168.167.11'
config.vm.synced_folder "public/", "/var/www"
node.vm.provider :virtualbox do |vb|
vb.customize [
'modifyvm', :id,
'--memory', '512',
]
end
node.vm.provision :shell, :path => "lib/puppet/bootstrap.sh"
node.vm.provision :puppet do |puppet|
puppet.facter = { 'fqdn' => node.vm.hostname }
puppet.manifests_path = "lib/puppet/manifests"
puppet.manifest_file = "wordpress-php54.pp"
end
end
config.vm.define 'php55', autostart: false do |node|
node.vm.box = 'puppetlabs/ubuntu-14.04-64-puppet'
node.vm.hostname = 'php55.dev'
node.vm.network :private_network, ip: '192.168.167.12'
config.vm.synced_folder "public/", "/var/www"
node.vm.provider :virtualbox do |vb|
vb.customize [
'modifyvm', :id,
'--memory', '512',
]
end
node.vm.provision :shell, :path => "lib/puppet/bootstrap.sh"
node.vm.provision :puppet do |puppet|
puppet.facter = { 'fqdn' => node.vm.hostname }
puppet.manifests_path = "lib/puppet/manifests"
puppet.manifest_file = "wordpress-php55.pp"
end
end
config.vm.define 'support', autostart: false do |node|
node.vm.box = "scotch/box"
node.vm.network "private_network", ip: "192.168.33.10"
node.vm.hostname = "dojo"
node.vm.synced_folder "public/", "/var/www/public/", :mount_options => ["dmode=777", "fmode=666"]
node.vm.provision :shell, path: "lib/support/bootstrap.sh"
end
end