# please see the online documentation at vagrantup.com.
# Every Vagrant virtual environment requires a box to build off of.
- config.vm.box = "centos-6.4-x64-vbox"
+ config.vm.box = "centos-6.5-i386-vbox"
# The url from where the 'config.vm.box' box will be fetched if it
# doesn't already exist on the user's system.
- config.vm.box_url = "http://vagrant-boxes.icinga.org/centos-64-x64-vbox4212.box"
+ config.vm.box_url = "http://boxes.icinga.org/centos-65-i386-vbox.box"
+
+ # The hostname the machine should have. Defaults to nil. If nil, Vagrant
+ # won't manage the hostname. If set to a string, the hostname will be set on boot.
+ config.vm.hostname = "icinga2.demo.icinga.org"
# Create a forwarded port mapping which allows access to a specific port
# within the machine from a port on the host machine. In the example below,
# so you can take notice and act accordingly.
auto_correct: true
+ # forward port for nsca-ng. See note above regarding auto_correct
+ config.vm.network :forwarded_port, guest: 5668, host: 5668, auto_correct: true
+
# Create a private network, which allows host-only access to the machine
# using a specific IP.
# config.vm.network :private_network, ip: "192.168.33.10"
config.vm.provision :puppet do |puppet|
puppet.module_path = ".vagrant-puppet/modules"
puppet.manifests_path = ".vagrant-puppet/manifests"
- # puppet.options = "-v -d"
- puppet.options = "--verbose --debug"
+ #puppet.options = "--verbose --debug"
end
config.vm.provision :shell, :path => ".vagrant-puppet/manifests/finalize.sh"