make cgi graphing optional
authormh <mh@immerda.ch>
Tue, 31 May 2011 17:39:20 +0000 (19:39 +0200)
committermh <mh@immerda.ch>
Tue, 31 May 2011 17:39:20 +0000 (19:39 +0200)
manifests/host.pp

index 69cc7da..3e4f5ea 100644 (file)
@@ -25,8 +25,8 @@ class munin::host inherits munin
 
     include munin::plugins::muninhost
 
-    case $operatingsystem {
-        centos: { include munin::host::cgi }
+    if $munin_do_cgi_graphing {
+        include munin::host::cgi
     }
 
   # from time to time we cleanup hanging munin-runs