Commit 5713073a authored by Micah Anderson's avatar Micah Anderson

add a package definition for nsca underneath the $nagios_server block

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
parent d978e67d
......@@ -24,6 +24,13 @@ class backupninja::server {
if $nagios_server {
if !defined(Package["nsca"]) {
package { "nsca":
ensure => installed;
file { "/usr/local/bin/checkbackups":
ensure => "present",
source => "puppet://$servername/backupninja/",
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment