summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2014-02-23 15:43:18 +0100
committermh <mh@immerda.ch>2014-02-23 15:43:18 +0100
commitb062ecae42d47438dd4e7d2727e3581ccbbe5781 (patch)
tree2d8e3cb1714c1b8fa1df3ae89e668adc49d90bca
parentede2a6e5ff2f85bcd1d236e0352bf9baf498a841 (diff)
this is only required on debian
-rw-r--r--manifests/munin.pp5
1 files changed, 3 insertions, 2 deletions
diff --git a/manifests/munin.pp b/manifests/munin.pp
index 2a04e97..46af172 100644
--- a/manifests/munin.pp
+++ b/manifests/munin.pp
@@ -1,7 +1,8 @@
# manage apache monitoring things
class apache::munin {
-
- include perl::extensions::libwww
+ if $::osfamily == 'Debian' {
+ include perl::extensions::libwww
+ }
munin::plugin{ [ 'apache_accesses', 'apache_processes', 'apache_volume' ]: }
munin::plugin::deploy { 'apache_activity':