-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathVagrantfile
80 lines (62 loc) · 2.55 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
Vagrant.configure("2") do |config|
config.vm.define "es-node-1" do |ubuntu|
ubuntu.vm.box = "mayflower/trusty64-puppet3"
ubuntu.vm.hostname = "cc-esc-01"
ubuntu.vm.network "private_network", ip: "172.31.20.11"
ubuntu.vm.provision "puppet-bootstrap", type: "puppet" do |puppet|
puppet.module_path = "modules"
puppet.manifest_file = 'bootstrap.pp'
end
ubuntu.vm.provision "puppet", type: "puppet" do |puppet|
puppet.module_path = "modules"
puppet.manifest_file = "site.pp"
puppet.hiera_config_path = "hiera.yaml"
end
ubuntu.vm.provision :shell, :inline => "echo $'\360\237\215\273'"
end
config.vm.define "es-node-2" do |ubuntu|
ubuntu.vm.box = "mayflower/trusty64-puppet3"
ubuntu.vm.hostname = "cc-esc-02"
ubuntu.vm.network "private_network", ip: "172.31.20.12"
ubuntu.vm.provision "puppet-bootstrap", type: "puppet" do |puppet|
puppet.module_path = "modules"
puppet.manifest_file = 'bootstrap.pp'
end
ubuntu.vm.provision "puppet", type: "puppet" do |puppet|
puppet.module_path = "modules"
puppet.manifest_file = "site.pp"
puppet.hiera_config_path = "hiera.yaml"
end
ubuntu.vm.provision :shell, :inline => "echo $'\360\237\215\273'"
end
config.vm.define "es-node-3" do |ubuntu|
ubuntu.vm.box = "mayflower/trusty64-puppet3"
ubuntu.vm.hostname = "cc-esc-03"
ubuntu.vm.network "private_network", ip: "172.31.20.13"
ubuntu.vm.provision "puppet-bootstrap", type: "puppet" do |puppet|
puppet.module_path = "modules"
puppet.manifest_file = 'bootstrap.pp'
end
ubuntu.vm.provision "puppet", type: "puppet" do |puppet|
puppet.module_path = "modules"
puppet.manifest_file = "site.pp"
puppet.hiera_config_path = "hiera.yaml"
end
ubuntu.vm.provision :shell, :inline => "echo $'\360\237\215\273'"
end
config.vm.define "es-ctrl" do |ubuntu|
ubuntu.vm.box = "mayflower/trusty64-puppet3"
ubuntu.vm.hostname = "cc-esc-ctrl"
ubuntu.vm.network "private_network", ip: "172.31.20.10"
ubuntu.vm.provision "puppet-bootstrap", type: "puppet" do |puppet|
puppet.module_path = "modules"
puppet.manifest_file = 'bootstrap.pp'
end
ubuntu.vm.provision "puppet", type: "puppet" do |puppet|
puppet.module_path = "modules"
puppet.manifest_file = "site.pp"
puppet.hiera_config_path = "hiera.yaml"
end
ubuntu.vm.provision :shell, :inline => "echo $'\360\237\215\273'"
end
end