]> git.immae.eu Git - perso/Immae/Projets/Puppet.git/blobdiff - modules/profile/manifests/postgresql.pp
Add monitoring for etherpad
[perso/Immae/Projets/Puppet.git] / modules / profile / manifests / postgresql.pp
index edd6ea64d0e9c461d08e24add62e4c908393f7fc..fedbcb1ef7574f5675690a3b83bf25d01177873d 100644 (file)
@@ -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",