diff options
Diffstat (limited to 'modules/profile/manifests/postgresql')
-rw-r--r-- | modules/profile/manifests/postgresql/backup_dump.pp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/profile/manifests/postgresql/backup_dump.pp b/modules/profile/manifests/postgresql/backup_dump.pp index 5e469c5..5f456ed 100644 --- a/modules/profile/manifests/postgresql/backup_dump.pp +++ b/modules/profile/manifests/postgresql/backup_dump.pp | |||
@@ -60,10 +60,10 @@ define profile::postgresql::backup_dump ( | |||
60 | 60 | ||
61 | @profile::monitoring::local_service { "Last postgresql dump in $pg_backup_path is not too old": | 61 | @profile::monitoring::local_service { "Last postgresql dump in $pg_backup_path is not too old": |
62 | sudos => { | 62 | sudos => { |
63 | "naemon-postgresql-dumps" => "naemon ALL=($pg_user) NOPASSWD: /usr/bin/find $pg_backup_path -mindepth 1 -maxdepth 1 -printf %T@\\n", | 63 | "naemon-postgresql-dumps-$pg_host" => "naemon ALL=($pg_user) NOPASSWD: /usr/bin/find $pg_backup_path -mindepth 1 -maxdepth 1 -printf %T@?n", |
64 | } | 64 | }, |
65 | local => { | 65 | local => { |
66 | check_command => "check_last_file_date!$pg_backup_path!10!$pg_user" | 66 | check_command => "check_last_file_date!$pg_backup_path!10!$pg_user", |
67 | } | 67 | } |
68 | } | 68 | } |
69 | } | 69 | } |