-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathVagrantfile
37 lines (31 loc) · 1.31 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
Vagrant::Config.run do |config|
config.vm.provision :puppet do |puppet|
puppet.module_path = "modules"
puppet.manifests_path = "manifests"
puppet.manifest_file = "nodes.pp"
end
config.vm.define :loadbalancer do |loadbalancer|
loadbalancer.vm.box = "ubuntu-precise-64"
loadbalancer.vm.box_url = "https://dl.dropbox.com/u/567726/ubuntu-precise-64.box"
loadbalancer.vm.host_name = "loadbalancer.example.com"
loadbalancer.vm.network :hostonly, "33.33.33.10"
end
config.vm.define :web1 do |web1|
web1.vm.box = "ubuntu-precise-64"
web1.vm.box_url = "https://dl.dropbox.com/u/567726/ubuntu-precise-64.box"
web1.vm.host_name = "web1.example.com"
web1.vm.network :hostonly, "33.33.33.11"
end
config.vm.define :web2 do |web2|
web2.vm.box = "ubuntu-precise-64"
web2.vm.box_url = "https://dl.dropbox.com/u/567726/ubuntu-precise-64.box"
web2.vm.host_name = "web2.example.com"
web2.vm.network :hostonly, "33.33.33.12"
end
config.vm.define :loadbalancervarnish do |loadbalancervarnish|
loadbalancervarnish.vm.box = "ubuntu-precise-64"
loadbalancervarnish.vm.box_url = "https://dl.dropbox.com/u/567726/ubuntu-precise-64.box"
loadbalancervarnish.vm.host_name = "loadbalancervarnish.example.com"
loadbalancervarnish.vm.network :hostonly, "33.33.33.13"
end
end