]> gitweb.fluxo.info Git - puppet-nodo.git/commitdiff
Including munin::host after munin::client
authorSilvio Rhatto <rhatto@riseup.net>
Thu, 23 Sep 2010 19:09:04 +0000 (16:09 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Thu, 23 Sep 2010 19:09:04 +0000 (16:09 -0300)
manifests/master.pp

index 23b78d209d549c1dfe56c9d5cfb742b9c0e6e59c..1db4299cd14e698c2c777e878ca051eb12a5de96 100644 (file)
@@ -7,7 +7,6 @@ class nodo::master {
   include puppetmasterd
 
   if $main_master == true {
-    include munin::host
     include nagios::headless
     include nagios::defaults
 
@@ -35,6 +34,11 @@ class nodo::master {
   include gitosis
   include websites::admin
 
+  # Munin configuration
+  if $main_master == true {
+    include munin::host
+  }
+
   case $puppetmaster_db_password {
     '': { fail("Please set \$puppetmaster_db_password in your host config") }
   }