summaryrefslogtreecommitdiff
path: root/manifests/defaults/commands.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/defaults/commands.pp')
-rw-r--r--manifests/defaults/commands.pp6
1 files changed, 6 insertions, 0 deletions
diff --git a/manifests/defaults/commands.pp b/manifests/defaults/commands.pp
index 0a7ad4f..9068c63 100644
--- a/manifests/defaults/commands.pp
+++ b/manifests/defaults/commands.pp
@@ -6,6 +6,12 @@ class nagios::defaults::commands {
# common service commands
case $operatingsystem {
debian,ubuntu: {
+ # debian and ubuntu ship the nagios::command::smtp and
+ # nagios::command::imap_pop3 commands in the nagios-plugins packages,
+ # which are placed in /etc/nagios-plugins/config/mail.cfg, however they
+ # are inferior to the ones provided in this module below because they do
+ # not provide port options, so we just remove them
+ file { '/etc/nagios-plugins/config/mail.cfg': ensure => absent; }
nagios_command {
check_dummy:
command_line => '$USER1$/check_dummy $ARG1$';