Well, I've installed the 3.3.0 version of Puppet. For the installation of the Icinga Puppet modules I used librarian-puppet with bundler. In the puppetfile I put the following lines:
forge "
http://forge.puppetlabs.com"
mod "puppetlabs/postgresql", :git => 'g...@git.2ndquadrant.it:2ndquadrant-it/i-it/i-hw-benchmark-it/puppet-postgresql.git'
mod "puppi", :git => 'g...@github.com:example42/puppi.git'
mod "puppet/icinga", :git => 'g...@github.com:example42/puppet-icinga.git'
I set up Icinga with Puppet on a virtual machine created with Vagrant. This is the Vagrant file:
Vagrant.configure("2") do |config|
{
:shane => {
:box => 'ubuntu_12042x86_64',
:box_url => '
http://puppet-vagrant-boxes.puppetlabs.com/ubuntu-server-12042-x64-vbox4210.box',
:ip => '192.168.56.150',
},
}.each do |name,cfg|
config.vm.define name do |local|
local.vm.box = cfg[:box]
local.vm.box_url = cfg[:box_url]
local.vm.hostname = name
local.vm.network :private_network, ip: cfg[:ip]
local.vm.provision :shell, :inline => 'mkdir -p /srv/raid /srv/xlog; apt-get update'
local.vm.provision :puppet do |puppet|
puppet.hiera_config_path = 'hiera.yaml'
puppet.manifests_path = "../manifests"
puppet.module_path = ["../local_modules", "../modules"]
puppet.manifest_file = "site.pp"
puppet.options = [
'--verbose',
'--debug',
]
end
end
end
end
Hope this could be enough.
Many thanks.
Giuseppe.