aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 2b426a96..9a1e9172 100644
--- a/modules/postgresql/manifests/init.pp
+++ b/modules/postgresql/manifests/init.pp
@@ -86,7 +86,7 @@ class postgresql {
define database($description="", $user="postgres") {
exec { "createdb -O $user -U postgres $name '$description'":
user => root,
- unless => "psql -l -U postgres | grep '^$name|'",
+ unless => "psql -A -t -U postgres -l | grep '^$name|'",
}
}