diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2018-07-08 15:35:43 +0200 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2018-07-09 20:16:21 +0200 |
commit | 6962463657db999c33f1aabe60e0567be218918d (patch) | |
tree | 8d1d7c924fe68c56a4478165e50e5dc1bbc758aa /modules/profile/manifests/monitoring/times.pp | |
parent | d8f933bd00a5cc416da00cd26c9d13f7a1c02486 (diff) | |
download | Puppet-6962463657db999c33f1aabe60e0567be218918d.tar.gz Puppet-6962463657db999c33f1aabe60e0567be218918d.tar.zst Puppet-6962463657db999c33f1aabe60e0567be218918d.zip |
Prepare master monitoring
Diffstat (limited to 'modules/profile/manifests/monitoring/times.pp')
-rw-r--r-- | modules/profile/manifests/monitoring/times.pp | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/modules/profile/manifests/monitoring/times.pp b/modules/profile/manifests/monitoring/times.pp index fb61acc..25bf86b 100644 --- a/modules/profile/manifests/monitoring/times.pp +++ b/modules/profile/manifests/monitoring/times.pp | |||
@@ -1,11 +1,12 @@ | |||
1 | class profile::monitoring::times { | 1 | class profile::monitoring::times { |
2 | Nagios_timeperiod { | 2 | Nagios_timeperiod { |
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 => "/etc/naemon/objects.cfg", |
7 | notify => Service["naemon"], | 7 | notify => Service["naemon"], |
8 | before => Service["naemon"], | 8 | before => Service["naemon"], |
9 | require => File["/etc/naemon"], | ||
9 | } | 10 | } |
10 | 11 | ||
11 | nagios_timeperiod { "24x7": | 12 | nagios_timeperiod { "24x7": |