this makes sure that the nsca package is installed, as it is a
dependency for the nagios checks. It does not configure any of the
nsca bits. In fact this should be done in a nagios::nsca class and
instead this module should require that
}
if $nagios_server {
+
+ if !defined(Package["nsca"]) {
+ package { "nsca":
+ ensure => installed;
+ }
+ }
+
file { "/usr/local/bin/checkbackups":
ensure => "present",
source => "puppet://$servername/backupninja/checkbackups.pl",