diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/postgresql/manifests/database.pp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/postgresql/manifests/database.pp b/modules/postgresql/manifests/database.pp index 395c4f83..2ea08e78 100644 --- a/modules/postgresql/manifests/database.pp +++ b/modules/postgresql/manifests/database.pp @@ -3,7 +3,7 @@ define postgresql::database($description = '', $user = 'postgres', $callback_notify = '') { - exec { "createdb -O ${user} -U postgres ${name} '${description}' --encoding=UTF-8": + exec { "createdb -O ${user} -U postgres ${name} '${description}' -E UTF8": user => 'root', unless => "psql -A -t -U postgres -l | grep '^${name}|'", require => Service['postgresql'], |