From 57ccaaa9f3db378b6561460d5cfab37877dc0684 Mon Sep 17 00:00:00 2001
From: Silvio Rhatto <rhatto@riseup.net>
Date: Thu, 23 Sep 2010 16:09:04 -0300
Subject: Including munin::host after munin::client

---
 manifests/master.pp | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

(limited to 'manifests')

diff --git a/manifests/master.pp b/manifests/master.pp
index 23b78d2..1db4299 100644
--- a/manifests/master.pp
+++ b/manifests/master.pp
@@ -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") }
   }
-- 
cgit v1.2.3