Skip to content

Commit

Permalink
Update Vagrant file for 1.5
Browse files Browse the repository at this point in the history
  • Loading branch information
tas50 committed May 3, 2014
1 parent 571f0b2 commit 796a4bd
Showing 1 changed file with 9 additions and 12 deletions.
21 changes: 9 additions & 12 deletions Vagrantfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
Vagrant.require_plugin 'vagrant-chef-zero'
Vagrant.require_plugin 'vagrant-berkshelf'

Vagrant.configure('2') do |config|
Vagrant.configure('2') do |config|
config.omnibus.chef_version = :latest
config.berkshelf.enabled = true
config.chef_zero.chef_repo_path = 'test/integration'
Expand All @@ -15,27 +12,27 @@ Vagrant::Config.run do |config|
end

config.vm.define :nagios_1004 do |nagios|
nagios.vm.box = 'opscode-ubuntu-10.04'
nagios.vm.box = 'chef/ubuntu-10.04'
nagios.vm.forward_port 80, 8080
nagios.vm.host_name = 'nagios-1004'
end

config.vm.define :nagios_1204 do |nagios|
nagios.vm.box = 'opscode-ubuntu-12.04'
nagios.vm.box = 'chef/ubuntu-12.04'
nagios.vm.forward_port 80, 8081
nagios.vm.host_name = 'nagios-1204'
end

config.vm.define :nagios_64 do |nagios|
nagios.vm.box = 'opscode-centos-6.4'
config.vm.define :nagios_65 do |nagios|
nagios.vm.box = 'chef/centos-6.5'
nagios.vm.forward_port 80, 8082
nagios.vm.host_name = 'nagios-64'
nagios.vm.host_name = 'nagios-65'
end

config.vm.define :nagios_59 do |nagios|
nagios.vm.box = 'opscode-centos-5.9'
config.vm.define :nagios_510 do |nagios|
nagios.vm.box = 'chef/centos-5.10'
nagios.vm.forward_port 80, 8083
nagios.vm.host_name = 'nagios-59'
nagios.vm.host_name = 'nagios-510'
end

end

0 comments on commit 796a4bd

Please sign in to comment.