aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifests/master.pp6
1 files changed, 5 insertions, 1 deletions
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") }
}