summaryrefslogtreecommitdiff
path: root/manifests/nrpe/linux.pp
diff options
context:
space:
mode:
authorGabriel Filion <gabriel@koumbit.org>2011-01-24 13:07:47 -0500
committerGabriel Filion <lelutin@gmail.com>2012-04-09 23:47:32 -0400
commitef56fdd676408a1068dd9b666fb2cf57b518fd04 (patch)
tree6a4aab52d0fd98da6060d241f7fb9c4d8ff7bcec /manifests/nrpe/linux.pp
parent1c36e5c9188636aa7e5d093e2330356b24832ada (diff)
Add NRPE support for FreeBSD
Configuration needs to be placed in a different directory in FreeBSD. Some packages are not named the same under FreeBSD. Some packages are not available under FreeBSD. Migrate those to a new nagios::nrpe::linux class so that FreeBSD does not take them into account.
Diffstat (limited to 'manifests/nrpe/linux.pp')
-rw-r--r--manifests/nrpe/linux.pp9
1 files changed, 9 insertions, 0 deletions
diff --git a/manifests/nrpe/linux.pp b/manifests/nrpe/linux.pp
new file mode 100644
index 0000000..14e007f
--- /dev/null
+++ b/manifests/nrpe/linux.pp
@@ -0,0 +1,9 @@
+class nagios::nrpe::linux inherits nagios::nrpe::base {
+
+ package {
+ "nagios-plugins-standard": ensure => present;
+ "ksh": ensure => present; # for check_cpustats.sh
+ "sysstat": ensure => present; # for check_cpustats.sh
+ }
+
+}