summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2013-04-15 15:48:43 -0400
committerMicah Anderson <micah@riseup.net>2013-04-15 15:48:43 -0400
commit2f6d7891e115f921c157567e2aa5afd6199c310e (patch)
treef3858a8ce6891d77930ea9ab3a831655820c310d
parente7d50df18b18c152bfb6eed8fe8a59d2ff0de975 (diff)
add the requirement for perl::extensions::libwww
-rw-r--r--README2
-rw-r--r--manifests/munin.pp3
2 files changed, 5 insertions, 0 deletions
diff --git a/README b/README
index 6eee262..ff6d338 100644
--- a/README
+++ b/README
@@ -19,6 +19,8 @@ have to be deployed to fit this schema.
* if using the munin module, you need a version of the munin module that is
at or newer than commit 77e0a70999a8c4c20ee8d9eb521b927c525ac653 (Feb 28, 2013)
+ * if using munin, you will need to have the perl module installed
+
* you must change your modules/site-apache to modules/site_apache
* the $apache_no_default_site variable is no longer supported, you should
diff --git a/manifests/munin.pp b/manifests/munin.pp
index 8b5bda1..2a04e97 100644
--- a/manifests/munin.pp
+++ b/manifests/munin.pp
@@ -1,5 +1,8 @@
# manage apache monitoring things
class apache::munin {
+
+ include perl::extensions::libwww
+
munin::plugin{ [ 'apache_accesses', 'apache_processes', 'apache_volume' ]: }
munin::plugin::deploy { 'apache_activity':
source => 'apache/munin/apache_activity',