nagios: Added support for nagios::target::nrpe to OpenBSD.

This commit is contained in:
Timo Mkinen 2013-05-06 09:39:55 +03:00
parent 87f9e8995d
commit 999d0e588f
2 changed files with 43 additions and 5 deletions

View file

@ -33,6 +33,10 @@ class nagios::common {
$cgibin = "/usr/lib/cgi-bin/nagios3"
$htdocs = "/usr/share/nagios3/htdocs"
}
"openbsd": {
# no params set as we don't support server on openbsd yet
$libdir = "/usr/local/libexec/nagios"
}
default: {
fail("Nagios not supported on ${::operatingsystem}")
}
@ -67,6 +71,9 @@ class nagios::server::manual inherits nagios::common {
target => "/etc/nagios3/stylesheets",
}
}
default: {
fail("nagios::server not supported in ${::operatingsystem}")
}
}
exec { "usermod-nagios-httpsd":