From 46c1ce7d6d9be6ecc5229463b794e52739c033c2 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sun, 3 Oct 2010 19:30:09 -0300 Subject: Munin allow master workaround --- manifests/master.pp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'manifests/master.pp') diff --git a/manifests/master.pp b/manifests/master.pp index c176ca9..c5c23da 100644 --- a/manifests/master.pp +++ b/manifests/master.pp @@ -7,6 +7,10 @@ class nodo::master { # Puppetmaster should be included before nodo::vserver include puppetmasterd + # This is a workaround to correctly set allowed hosts on munin + # client when the host is also present. + $munin_allow = $global_munin_allow + include munin::host include munin::plugins::muninhost include nagios::headless @@ -42,7 +46,7 @@ class nodo::master { '': { fail("Please set \$puppetmaster_db_password in your host config") } } - # update master's puppet.conf if you change here + # Update master's puppet.conf if you change here database::instance { "puppet": password => "$puppetmaster_db_password", } @@ -53,7 +57,7 @@ class nodo::master { sqldump => true, } - # used for trac dependency graphs + # Used for trac dependency graphs package { "graphviz": ensure => present, } -- cgit v1.2.3