summaryrefslogtreecommitdiff
path: root/manifests/host.pp
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2011-05-31 19:39:20 +0200
committermh <mh@immerda.ch>2011-05-31 19:39:20 +0200
commitc88a6c4879e13b95e4fff00ec956557dd5be5689 (patch)
treefbe4da0a62a71f41f5e49910bf0e34f865442ef9 /manifests/host.pp
parent7a13b36953cc4e359a37c0e7fa80a6ee3b452766 (diff)
make cgi graphing optional
Diffstat (limited to 'manifests/host.pp')
-rw-r--r--manifests/host.pp4
1 files changed, 2 insertions, 2 deletions
diff --git a/manifests/host.pp b/manifests/host.pp
index 69cc7da..3e4f5ea 100644
--- a/manifests/host.pp
+++ b/manifests/host.pp
@@ -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