diff options
-rw-r--r-- | modules/postgresql/manifests/init.pp | 2 |
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'], } } |