mirror of https://github.com/zulip/zulip.git
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:
parent
7083899e77
commit
bd9176d1d9
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue