diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2011-07-13 19:53:37 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2011-07-13 19:53:37 -0300 |
commit | 5df607a33d87ba8ab86a4116669ed2bc61c7131c (patch) | |
tree | f0e35457e55e97f513bcb393d490416137db90da /manifests/command | |
parent | 237e886f2ede3b830d28cf5e000dd5d95d8a343a (diff) |
Debian doesn't need explicit check_smtp definition
This plugin is already defined at nagios-plugins, so removing it
for the same reason as e7f85f647e6f641bd85fbdfdb26982350f782370.
Diffstat (limited to 'manifests/command')
-rw-r--r-- | manifests/command/smtp.pp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/manifests/command/smtp.pp b/manifests/command/smtp.pp index 04f8543..5cb777e 100644 --- a/manifests/command/smtp.pp +++ b/manifests/command/smtp.pp @@ -1,7 +1,11 @@ class nagios::command::smtp { nagios_command{ 'check_smtp': - command_line => '$USER1$/check_smtp -H $ARG1$ -p $ARG2$'; + command_line => '$USER1$/check_smtp -H $ARG1$ -p $ARG2$', + ensure => $operatingsystem ? { + debian,ubuntu => absent, + default => present, + }; 'check_smtp_tls': command_line => '$USER1$/check_smtp -H $ARG1$ -p $ARG2$ -S'; 'check_smtp_cert': |