aboutsummaryrefslogtreecommitdiffstats
path: root/modules/postgresql
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2011-06-17 12:21:05 +0000
committerMichael Scherer <misc@mageia.org>2011-06-17 12:21:05 +0000
commite628960d64f4907e823f8a55522514891d2c3ef4 (patch)
tree805b2fa8e1cf7c7081e0aa0a9d873678b849fe57 /modules/postgresql
parentda761ec2d088892fe77bd9eb2a15cfdc2bbb83e5 (diff)
downloadpuppet-e628960d64f4907e823f8a55522514891d2c3ef4.tar
puppet-e628960d64f4907e823f8a55522514891d2c3ef4.tar.gz
puppet-e628960d64f4907e823f8a55522514891d2c3ef4.tar.bz2
puppet-e628960d64f4907e823f8a55522514891d2c3ef4.tar.xz
puppet-e628960d64f4907e823f8a55522514891d2c3ef4.zip
fix warnings about unrecognized escaped sequence
Diffstat (limited to 'modules/postgresql')
-rw-r--r--modules/postgresql/manifests/init.pp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/postgresql/manifests/init.pp b/modules/postgresql/manifests/init.pp
index eeed6613..297cc429 100644
--- a/modules/postgresql/manifests/init.pp
+++ b/modules/postgresql/manifests/init.pp
@@ -183,7 +183,7 @@ class postgresql {
exec { "psql -U postgres -c \"$sql\" ":
user => root,
environment => "pass=$password",
- unless => "psql -A -t -U postgres -c '\du $name' | grep '$name'",
+ unless => "psql -A -t -U postgres -c '\\du $name' | grep '$name'",
require => Service['postgresql'],
}
}