aboutsummaryrefslogtreecommitdiffstats
path: root/modules/postgresql
diff options
context:
space:
mode:
authorNicolas Lécureuil <neoclust@mageia.org>2017-04-08 15:42:58 +0200
committerNicolas Lécureuil <neoclust@mageia.org>2017-04-08 15:42:58 +0200
commit7d4e6a38a9774b8edbdf7df6d369bc6fc7e57490 (patch)
treed0a91f8beaa434c7fd7c6529392464693ff37d91 /modules/postgresql
parent93410063ee889eebd1a57f8afb4149cea18e277e (diff)
downloadpuppet-7d4e6a38a9774b8edbdf7df6d369bc6fc7e57490.tar
puppet-7d4e6a38a9774b8edbdf7df6d369bc6fc7e57490.tar.gz
puppet-7d4e6a38a9774b8edbdf7df6d369bc6fc7e57490.tar.bz2
puppet-7d4e6a38a9774b8edbdf7df6d369bc6fc7e57490.tar.xz
puppet-7d4e6a38a9774b8edbdf7df6d369bc6fc7e57490.zip
Revert "Try to create UTF-8 databases"
Diffstat (limited to 'modules/postgresql')
-rw-r--r--modules/postgresql/manifests/database.pp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/postgresql/manifests/database.pp b/modules/postgresql/manifests/database.pp
index 2ea08e78..e984c145 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}' -E UTF8":
+ exec { "createdb -O ${user} -U postgres ${name} '${description}' ":
user => 'root',
unless => "psql -A -t -U postgres -l | grep '^${name}|'",
require => Service['postgresql'],