rendhalver/puppet-icinga — pull request #2 by andrschw (2013-05-29 22:55:19+00:00)
Title: Fixing for Ubuntu 12.04.2

You probably don't actually want to accept this pull request, it's just to show you what I've had to do so far to get this module to work on Ubuntu Server 12.04.2 base install. I'm guessing it hasn't previously been tested on this OS as the package names were mismatched.

At this point it successfully installs and sets it up (although I still need to add the users 'apache' and 'icinga', and the group 'icingacmd', as they're required but not yet included in the setup).

I'm having issues with Icinga parsing its configuration; the current templates seem to be incompatible.

I'm a bit burnt out working on this, but have grabbed the conf files from a default install of icinga and icinga-web on a clean Ubuntu VM. I'll be reconciling them with the templates tomorrow likely.

My hiera configuration now looks like this:

{
"icinga::params::web_port" : "80",
"icinga::params::ssl" : "false",
"icinga::params::manage_ssl" : "false",
"icinga::params::configure_firewall" : "false",
"icinga::params::gui_type" : "web",
"icinga::params::perfdata" : "false",
"icinga::params::admin_group" : "['admin']",
"icinga::params::admin_users" : "['admin']",
"icinga::params::debug" : "1",
"icinga::params::ido_db_server" : "postgresql",
"icinga::params::web_db_server" : "postgresql",
"icinga::params::ldap_security" : "none"
}

I have a separate module that sets up the Postgres databases.

Also, keep in mind that I have this set up to use the puppetlabs/apt module to grab the PPAs for icinga; but have not set it as a dependency as it's OS specific.