forked from sous-chefs/nrpe
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathVagrantfile
36 lines (29 loc) · 907 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
32
33
34
35
36
Vagrant.require_plugin 'vagrant-chef-zero'
Vagrant.require_plugin 'vagrant-berkshelf'
Vagrant.configure('2') do |config|
config.omnibus.chef_version = :latest
config.berkshelf.enabled = true
config.chef_zero.chef_repo_path = 'test/integration'
end
Vagrant::Config.run do |config|
config.vm.provision :chef_client do |chef|
chef.add_recipe('apt')
chef.add_recipe('nrpe')
end
config.vm.define :nrpe_1004 do |nagios|
nagios.vm.box = 'opscode-ubuntu-10.04'
nagios.vm.host_name = 'nrpe-1004'
end
config.vm.define :nrpe_1204 do |nagios|
nagios.vm.box = 'opscode-ubuntu-12.04'
nagios.vm.host_name = 'nrpe-1204'
end
config.vm.define :nrpe_64 do |nagios|
nagios.vm.box = 'opscode-centos-6.4'
nagios.vm.host_name = 'nrpe-64'
end
config.vm.define :nrpe_59 do |nagios|
nagios.vm.box = 'opscode-centos-5.9'
nagios.vm.host_name = 'nrpe-59'
end
end