From: Silvio Rhatto Date: Mon, 19 Sep 2011 14:52:33 +0000 (-0300) Subject: Manage nagios on every master X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=e230346572ba90a7bc4a1d6698924f9cf674820d;p=puppet-nodo.git Manage nagios on every master --- diff --git a/manifests/master.pp b/manifests/master.pp index 82801f4..59f2678 100644 --- a/manifests/master.pp +++ b/manifests/master.pp @@ -20,13 +20,6 @@ class nodo::master { include munin::host include munin::plugins::muninhost - include nagios::headless - include nagios::defaults - - # Nagios apache workaround - file { "/etc/apache2/conf.d/nagios3.conf": - ensure => absent, - } # The main master has a host entry pointing to itself, other # masters still retrieve catalogs from the main master. @@ -48,6 +41,14 @@ class nodo::master { include database include gitosis include websites::admin + include nagios::headless + include nagios::defaults + + # Nagios apache workaround + file { "/etc/apache2/conf.d/nagios3.conf": + ensure => absent, + } + case $puppetmaster_db_password { '': { fail("Please set \$puppetmaster_db_password in your host config") }