diff options
author | Gabriel Filion <gabriel@koumbit.org> | 2011-02-01 16:21:20 -0500 |
---|---|---|
committer | Gabriel Filion <lelutin@gmail.com> | 2012-04-09 23:49:18 -0400 |
commit | c9de09ece4508db6b216abd0f74f07ea7befe906 (patch) | |
tree | 81a47fe542a2ba04ea4cae8bc377ae951ee2b139 /manifests/nrpe/freebsd.pp | |
parent | f9f47f1e2af2d7bd4b60c84697fcffe365b1d0dd (diff) |
nrpe FreeBSD compatibility
Make some changes to ensure compatibility of the nrpe resources with
FreeBSD.
* Use group 0 instead of 'root'
* capitalize values for testing $operatingsystem
* override arguments for the nrpe service so that FreeBSD can find the
init script
Diffstat (limited to 'manifests/nrpe/freebsd.pp')
-rw-r--r-- | manifests/nrpe/freebsd.pp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/manifests/nrpe/freebsd.pp b/manifests/nrpe/freebsd.pp index 3e1e0e1..73e7687 100644 --- a/manifests/nrpe/freebsd.pp +++ b/manifests/nrpe/freebsd.pp @@ -7,4 +7,9 @@ class nagios::nrpe::freebsd inherits nagios::nrpe::base { # TODO check_cpustats.sh is probably not working as of now. the package 'sysstat' is not available under FreeBSD + Service["nagios-nrpe-server"] { + pattern => undef, + path => "/usr/local/etc/rc.d", + name => "nrpe2", + } } |