diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2018-07-12 08:52:20 +0200 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2018-07-12 08:52:20 +0200 |
commit | b94d29d098d959707d139b514c5071e5d99e4626 (patch) | |
tree | 96b09b188872a5d48385da467ea4a5990aeb90b0 /modules/profile/manifests | |
parent | 625907f0177d335c05c05ae66ae49e20287d14b0 (diff) | |
parent | de68b72374231be37df7c171596672a21a218958 (diff) | |
download | Puppet-b94d29d098d959707d139b514c5071e5d99e4626.tar.gz Puppet-b94d29d098d959707d139b514c5071e5d99e4626.tar.zst Puppet-b94d29d098d959707d139b514c5071e5d99e4626.zip |
Merge branch 'dev'
Diffstat (limited to 'modules/profile/manifests')
-rw-r--r-- | modules/profile/manifests/monitoring/commands.pp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/modules/profile/manifests/monitoring/commands.pp b/modules/profile/manifests/monitoring/commands.pp index 1c8d0b4..7c5d8ed 100644 --- a/modules/profile/manifests/monitoring/commands.pp +++ b/modules/profile/manifests/monitoring/commands.pp | |||
@@ -12,6 +12,7 @@ class profile::monitoring::commands inherits profile::monitoring { | |||
12 | "check_command", | 12 | "check_command", |
13 | "check_md_raid", | 13 | "check_md_raid", |
14 | "check_postgres_replication", | 14 | "check_postgres_replication", |
15 | "check_date", | ||
15 | "check_last_file_date", | 16 | "check_last_file_date", |
16 | ].each |$file| { | 17 | ].each |$file| { |
17 | file { "$plugins/$file": | 18 | file { "$plugins/$file": |
@@ -57,7 +58,10 @@ class profile::monitoring::commands inherits profile::monitoring { | |||
57 | require => File["$plugins/check_postgres_replication"]; | 58 | require => File["$plugins/check_postgres_replication"]; |
58 | "check_last_file_date": | 59 | "check_last_file_date": |
59 | command_line => '$USER2$/check_last_file_date "$ARG1$" "$ARG2$" "$ARG3$"', | 60 | command_line => '$USER2$/check_last_file_date "$ARG1$" "$ARG2$" "$ARG3$"', |
60 | require => File["$plugins/check_last_file_date"], | 61 | require => File["$plugins/check_last_file_date"]; |
62 | "check_date": | ||
63 | command_line => '$USER2$/check_date "$ARG1$" "$ARG2$" "$ARG3$"', | ||
64 | require => File["$plugins/check_date"]; | ||
61 | } | 65 | } |
62 | 66 | ||
63 | unless empty($naemon_url) { | 67 | unless empty($naemon_url) { |