mirror of https://github.com/zulip/zulip.git
puppet: Move contacts.cfg to be a template.
This commit is contained in:
parent
09aec3e467
commit
6017d3dec5
|
@ -26,6 +26,14 @@ class zulip_ops::nagios {
|
|||
notify => Service["nagios3"],
|
||||
}
|
||||
|
||||
file { "/etc/nagios3/conf.d/contacts.cfg":
|
||||
require => Package[nagios3],
|
||||
owner => "root",
|
||||
group => "root",
|
||||
mode => 644,
|
||||
content => template("zulip_ops/nagios3/contacts.cfg.template.erb"),
|
||||
notify => Service["nagios3"],
|
||||
}
|
||||
file { "/etc/nagios3/conf.d/hosts.cfg":
|
||||
require => Package[nagios3],
|
||||
owner => "root",
|
||||
|
|
Loading…
Reference in New Issue