X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=modules%2Fprofile%2Fmanifests%2Fpostgresql.pp;h=fedbcb1ef7574f5675690a3b83bf25d01177873d;hb=a0df248a2be61557b8a67c3d6e4df24dc3e7843e;hp=edd6ea64d0e9c461d08e24add62e4c908393f7fc;hpb=2742958fd69c91c442685be62140f1e29e363b95;p=perso%2FImmae%2FProjets%2FPuppet.git 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 ( @profile::monitoring::local_service { "Databases are present in postgresql": sudos => { - "naemon-postgresql-database-public" => "naemon ALL=(postgres) NOPASSWD: /usr/bin/psql -c select\ nspname\ from\ pg_catalog.pg_namespace" + "naemon-postgresql-database-public" => "naemon ALL=(postgres) NOPASSWD: /usr/bin/psql -c select\\ nspname\\ from\\ pg_catalog.pg_namespace" }, local => { check_command => "check_command_output!psql -c 'select nspname from pg_catalog.pg_namespace'!public!-r postgres",