diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2018-07-11 07:45:22 +0200 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2018-07-11 08:02:15 +0200 |
commit | 0363f38e186b8c942a6db2de4974befbc373f618 (patch) | |
tree | 4c3b08bface133b92748f33bfdb0c58065433a91 /modules/profile/manifests/monitoring/contacts.pp | |
parent | bff7d1b743bc2239d7ce7ced37dd03e4e846c03d (diff) | |
download | Puppet-0363f38e186b8c942a6db2de4974befbc373f618.tar.gz Puppet-0363f38e186b8c942a6db2de4974befbc373f618.tar.zst Puppet-0363f38e186b8c942a6db2de4974befbc373f618.zip |
Refactor a bit monitoring profile
Diffstat (limited to 'modules/profile/manifests/monitoring/contacts.pp')
-rw-r--r-- | modules/profile/manifests/monitoring/contacts.pp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/profile/manifests/monitoring/contacts.pp b/modules/profile/manifests/monitoring/contacts.pp index 107af18..a751153 100644 --- a/modules/profile/manifests/monitoring/contacts.pp +++ b/modules/profile/manifests/monitoring/contacts.pp | |||
@@ -1,9 +1,9 @@ | |||
1 | class profile::monitoring::contacts { | 1 | class profile::monitoring::contacts inherits profile::monitoring::params { |
2 | Nagios_contactgroup { | 2 | Nagios_contactgroup { |
3 | ensure => "present", | 3 | ensure => "present", |
4 | owner => "naemon", | 4 | owner => "naemon", |
5 | group => "naemon", | 5 | group => "naemon", |
6 | target => "/etc/naemon/objects.cfg", | 6 | target => $objects, |
7 | notify => Service["naemon"], | 7 | notify => Service["naemon"], |
8 | before => Service["naemon"], | 8 | before => Service["naemon"], |
9 | require => File["/etc/naemon"], | 9 | require => File["/etc/naemon"], |