-
Notifications
You must be signed in to change notification settings - Fork 0
/
Vagrantfile
31 lines (25 loc) · 897 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
31
Vagrant.configure(2) do |config|
config.vm.box = "ubuntu-puppet"
config.librarian_puppet.puppetfile_dir = "librarian"
config.vm.define :db1 do |db1|
db1.vm.network :private_network, :ip => "192.168.33.20"
db1.vm.provision "puppet" do |puppet|
puppet.manifest_file = "replSet_1.pp"
puppet.module_path = ["modules", "librarian/modules"]
end
end
config.vm.define :db2 do |db2|
db2.vm.network :private_network, :ip => "192.168.33.21"
db2.vm.provision "puppet" do |puppet|
puppet.manifest_file = "replSet_2.pp"
puppet.module_path = ["modules", "librarian/modules"]
end
end
config.vm.define :db3 do |db3|
db3.vm.network :private_network, :ip => "192.168.33.22"
db3.vm.provision "puppet" do |puppet|
puppet.manifest_file = "replSet_3.pp"
puppet.module_path = ["modules", "librarian/modules"]
end
end
end