diff options
Diffstat (limited to 'modules/profile/manifests/postgresql.pp')
-rw-r--r-- | modules/profile/manifests/postgresql.pp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/profile/manifests/postgresql.pp b/modules/profile/manifests/postgresql.pp index edd6ea6..fedbcb1 100644 --- a/modules/profile/manifests/postgresql.pp +++ b/modules/profile/manifests/postgresql.pp | |||
@@ -30,7 +30,7 @@ class profile::postgresql ( | |||
30 | 30 | ||
31 | @profile::monitoring::local_service { "Databases are present in postgresql": | 31 | @profile::monitoring::local_service { "Databases are present in postgresql": |
32 | sudos => { | 32 | sudos => { |
33 | "naemon-postgresql-database-public" => "naemon ALL=(postgres) NOPASSWD: /usr/bin/psql -c select\ nspname\ from\ pg_catalog.pg_namespace" | 33 | "naemon-postgresql-database-public" => "naemon ALL=(postgres) NOPASSWD: /usr/bin/psql -c select\\ nspname\\ from\\ pg_catalog.pg_namespace" |
34 | }, | 34 | }, |
35 | local => { | 35 | local => { |
36 | check_command => "check_command_output!psql -c 'select nspname from pg_catalog.pg_namespace'!public!-r postgres", | 36 | check_command => "check_command_output!psql -c 'select nspname from pg_catalog.pg_namespace'!public!-r postgres", |