From 5df607a33d87ba8ab86a4116669ed2bc61c7131c Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Wed, 13 Jul 2011 19:53:37 -0300 Subject: 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. --- manifests/command/smtp.pp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'manifests/command') 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': -- cgit v1.2.3