diff options
author | Gabriel Filion <gabriel@koumbit.org> | 2011-06-06 18:01:57 -0400 |
---|---|---|
committer | Gabriel Filion <lelutin@gmail.com> | 2012-04-10 00:09:15 -0400 |
commit | d0b45ed20e2d13e70d13dbd53a8a8ba8650298c9 (patch) | |
tree | 53e83dae7b424a21483bf0004a5577749a95fdda | |
parent | ba5ef8e555e16f9fb6a5e6bb8f8d5bf3c12c1827 (diff) |
Add a nagios::nrpe::xinetd class
We don't really manage everything with this class (e.g. not the config
for running NRPE under xinetd). We ensure that the nrpe service is not
running since xinetd is the one that's supposed to spawn nrpe.
This way we can manage the NRPE config and commands, but it does not
conflict with xinetd.
-rw-r--r-- | manifests/nrpe/xinetd.pp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/manifests/nrpe/xinetd.pp b/manifests/nrpe/xinetd.pp new file mode 100644 index 0000000..e13ed76 --- /dev/null +++ b/manifests/nrpe/xinetd.pp @@ -0,0 +1,11 @@ +# This is created only to cope with cases where we're not the only ones +# administering a machine and NRPE is running in xinetd. +class nagios::nrpe::xinetd inherits base { + + Service ["nagios-nrpe-server"] { + ensure => stopped, + } + + # TODO manage the xinetd config file that glues with NRPE + +} |