summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README5
-rw-r--r--manifests/nrpe/base.pp4
2 files changed, 8 insertions, 1 deletions
diff --git a/README b/README
index 90a97c6..5453834 100644
--- a/README
+++ b/README
@@ -12,6 +12,11 @@ In it's current form, this module can be used on CentOS and Debian.
Overview
========
+Requirements
+------------
+
+To use the nrpe functionality, you will need the perl module installed.
+
To use the nagios resources, activate storeconfigs on the
puppetmaster.
diff --git a/manifests/nrpe/base.pp b/manifests/nrpe/base.pp
index 162abd6..3412f7e 100644
--- a/manifests/nrpe/base.pp
+++ b/manifests/nrpe/base.pp
@@ -4,7 +4,9 @@ class nagios::nrpe::base {
if $processorcount == '' { $processorcount = 1 }
# libwww-perl for check_apache
- package { [ 'nagios-nrpe-server', 'nagios-plugins-basic', 'libwww-perl' ]:
+ include perl::extensions::libwww
+
+ package { [ 'nagios-nrpe-server', 'nagios-plugins-basic' ]:
ensure => present;
}