nagios: Remove some default files.

Nagios ships with a bunch of default configuration files that one
needs to delete in order to configure it.
This commit is contained in:
Tim Abbott 2016-07-20 22:54:35 -07:00 committed by Tim Abbott
parent 7083899e77
commit bd9176d1d9
1 changed files with 9 additions and 0 deletions

View File

@ -48,6 +48,15 @@ class zulip_ops::nagios {
source => 'puppet:///modules/zulip_ops/pagerduty_nagios.pl', source => 'puppet:///modules/zulip_ops/pagerduty_nagios.pl',
} }
file { [ '/etc/nagios3/conf.d/extinfo_nagios2.cfg',
'/etc/nagios3/conf.d/services_nagios2.cfg',
'/etc/nagios3/conf.d/contacts_nagios2.cfg',
'/etc/nagios3/conf.d/hostgroups_nagios2.cfg',
'/etc/nagios3/conf.d/localhost_nagios2.cfg',
]:
ensure => absent,
}
file { '/etc/nagios3/conf.d/zulip_nagios.cfg': file { '/etc/nagios3/conf.d/zulip_nagios.cfg':
ensure => file, ensure => file,
mode => 644, mode => 644,