-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathVagrantfile
66 lines (59 loc) · 2.37 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
Vagrant.configure("2") do |config|
#config.vm.provision "shell", inline: "sudo bash -x /vagrant/setup-host.sh"
config.vm.define "master" do |master|
master.vm.box = "hashicorp/precise32"
master.vm.hostname = "master"
master.vm.network :private_network, ip: "172.17.2.10"
#master.vm.provision "shell", inline: "sudo bash -x /vagrant/setup-host.sh master"
master.vm.provision "puppet" do |puppet|
puppet.facter = {
"vagrant" => "1",
"ossec_type" => "master",
}
end
end
config.vm.define "agent_precise32" do |agent_precise32|
agent_precise32.vm.box = "hashicorp/precise32"
agent_precise32.vm.hostname = "precise32"
agent_precise32.vm.network :private_network, ip: "172.17.2.20"
#agent_master.vm.provision "shell", inline: "sudo bash -x /vagrant/setup-host.sh agent"
agent_precise32.vm.provision "puppet" do |puppet|
puppet.facter = {
"vagrant" => "1",
"ossec_type" => "agent",
"ossec_agent_id" => "001",
}
end
end
# config.vm.define "agent_fbsd10" do |agent_fbsd10|
# agent_fbsd10.vm.box = "http://files.wunki.org/freebsd-10.0-amd64-wunki.box"
# agent_fbsd10.vm.hostname = "fbsd10"
# agent_fbsd10.vm.network :private_network, ip: "172.17.2.21"
# #agent_master.vm.provision "shell", inline: "sudo bash -x /vagrant/setup-host.sh agent"
# agent_fbsd10.vm.provision "puppet" do |puppet|
# puppet.facter = {
# "vagrant" => "1",
# "ossec_type" => "agent",
# "ossec_agent_id" => "002",
# }
# end
# end
# config.vm.define "agent_obsd53" do |agent_obsd53|
# agent_fbsd53.vm.box = "https://dl.dropboxusercontent.com/u/12089300/VirtualBox/openbsd53_amd64_vagrant12.box"
# agent_obsd53.vm.hostname = "obsd53"
# agent_obsd53.vm.network :private_network, ip: "172.17.2.22"
# #agent_master.vm.provision "shell", inline: "sudo bash -x /vagrant/setup-host.sh agent"
# agent_obsd53.vm.provision "puppet" do |puppet|
# puppet.facter = {
# "vagrant" => "1",
# "ossec_type" => "agent",
# "ossec_agent_id" => "003",
# }
# end
# end
# config.vm.define "agent_obsd53" do |agent_obsd53|
# agent_obsd53.vm.box = "https://dl.dropboxusercontent.com/u/12089300/VirtualBox/openbsd53_amd64_vagrant12.box"
# agent_obsd53.vm.hostname = "precise32"
# agent_obsd53.vm.network :private_network, ip: "172.17.2.21"
# end
end