forked from veriton/biemond-orawls-vagrant-12.2.1-infra-soa
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Vagrantfile
executable file
·141 lines (102 loc) · 5.07 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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
# -*- mode: ruby -*-
# vi: set ft=ruby :
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.define "soa2admin2" , primary: true do |soa2admin2|
soa2admin2.vm.box = "centos-6.6-x86_64"
soa2admin2.vm.box_url = "https://dl.dropboxusercontent.com/s/ijt3ppej789liyp/centos-6.6-x86_64.box"
soa2admin2.vm.provider :vmware_fusion do |v, override|
override.vm.box = "OEL-6.6-x86_64-vmware"
override.vm.box_url = "https://dl.dropboxusercontent.com/s/96qaaklh1ya6qnd/OEL6_6-x86_64-vmware.box?dl=0"
end
soa2admin2.vm.hostname = "soa2admin2.example.com"
soa2admin2.vm.synced_folder ".", "/vagrant", :mount_options => ["dmode=777","fmode=777"]
soa2admin2.vm.synced_folder "/Users/edwinbiemond/software", "/software"
soa2admin2.vm.network :private_network, ip: "10.10.10.21"
soa2admin2.vm.provider :vmware_fusion do |vb|
vb.vmx["numvcpus"] = "2"
vb.vmx["memsize"] = "2548"
end
soa2admin2.vm.provider :virtualbox do |vb|
vb.customize ["modifyvm", :id, "--memory", "2548"]
vb.customize ["modifyvm", :id, "--name" , "soa2admin2"]
vb.customize ["modifyvm", :id, "--cpus" , 2]
end
soa2admin2.vm.provision :shell, :inline => "ln -sf /vagrant/puppet/hiera.yaml /etc/puppet/hiera.yaml;rm -rf /etc/puppet/modules;ln -sf /vagrant/puppet/modules /etc/puppet/modules"
soa2admin2.vm.provision :puppet do |puppet|
puppet.manifests_path = "puppet/manifests"
puppet.module_path = "puppet/modules"
puppet.manifest_file = "site.pp"
puppet.options = "--verbose --trace --strict_variables --hiera_config /vagrant/puppet/hiera.yaml"
puppet.facter = {
"environment" => "development",
"vm_type" => "vagrant",
}
end
end
config.vm.define "mft1admin" , primary: true do |mft1admin|
mft1admin.vm.box = "centos-6.6-x86_64"
mft1admin.vm.box_url = "https://dl.dropboxusercontent.com/s/ijt3ppej789liyp/centos-6.6-x86_64.box"
mft1admin.vm.provider :vmware_fusion do |v, override|
override.vm.box = "centos-6.6-x86_64-vmware"
override.vm.box_url = "https://dl.dropboxusercontent.com/s/7ytmqgghoo1ymlp/centos-6.6-x86_64-vmware.box"
end
mft1admin.vm.hostname = "mft1admin.example.com"
mft1admin.vm.synced_folder ".", "/vagrant", :mount_options => ["dmode=777","fmode=777"]
mft1admin.vm.synced_folder "/Users/edwinbiemond/software", "/software"
mft1admin.vm.network :private_network, ip: "10.10.10.71"
mft1admin.vm.provider :vmware_fusion do |vb|
vb.vmx["numvcpus"] = "2"
vb.vmx["memsize"] = "2548"
end
mft1admin.vm.provider :virtualbox do |vb|
vb.customize ["modifyvm", :id, "--memory", "2548"]
vb.customize ["modifyvm", :id, "--name" , "mft1admin"]
vb.customize ["modifyvm", :id, "--cpus" , 2]
end
mft1admin.vm.provision :shell, :inline => "ln -sf /vagrant/puppet/hiera.yaml /etc/puppet/hiera.yaml;rm -rf /etc/puppet/modules;ln -sf /vagrant/puppet/modules /etc/puppet/modules"
mft1admin.vm.provision :puppet do |puppet|
puppet.manifests_path = "puppet/manifests"
puppet.module_path = "puppet/modules"
puppet.manifest_file = "site.pp"
puppet.options = "--verbose --hiera_config /vagrant/puppet/hiera.yaml"
puppet.facter = {
"environment" => "development",
"vm_type" => "vagrant",
}
end
end
config.vm.define "soadb" , primary: true do |soadb|
soadb.vm.box = "centos-6.6-x86_64"
soadb.vm.box_url = "https://dl.dropboxusercontent.com/s/ijt3ppej789liyp/centos-6.6-x86_64.box"
soadb.vm.provider :vmware_fusion do |v, override|
override.vm.box = "OEL-6.6-x86_64-vmware"
override.vm.box_url = "https://dl.dropboxusercontent.com/s/96qaaklh1ya6qnd/OEL6_6-x86_64-vmware.box?dl=0"
end
soadb.vm.hostname = "soadb.example.com"
soadb.vm.synced_folder ".", "/vagrant", :mount_options => ["dmode=777","fmode=777"]
soadb.vm.synced_folder "/Users/edwinbiemond/software", "/software"
soadb.vm.network :private_network, ip: "10.10.10.5"
soadb.vm.provider :vmware_fusion do |vb|
vb.vmx["numvcpus"] = "2"
vb.vmx["memsize"] = "2548"
end
soadb.vm.provider :virtualbox do |vb|
vb.customize ["modifyvm" , :id, "--memory", "2548"]
vb.customize ["modifyvm" , :id, "--name" , "soadb"]
vb.customize ["modifyvm" , :id, "--cpus" , 2]
end
soadb.vm.provision :shell, :inline => "ln -sf /vagrant/puppet/hiera.yaml /etc/puppet/hiera.yaml;rm -rf /etc/puppet/modules;ln -sf /vagrant/puppet/modules /etc/puppet/modules"
soadb.vm.provision :puppet do |puppet|
puppet.manifests_path = "puppet/manifests"
puppet.module_path = "puppet/modules"
puppet.manifest_file = "db.pp"
puppet.options = "--verbose --hiera_config /vagrant/puppet/hiera.yaml"
puppet.facter = {
"environment" => "development",
"vm_type" => "vagrant",
}
end
end
end