fix quote around locale options

This commit is contained in:
Fabrizio Regini 2015-11-29 13:18:46 +01:00
parent 721c162b50
commit 95aa691c62

View file

@ -45,7 +45,7 @@ define postgresql::server::database(
if ($version != '8.1') { if ($version != '8.1') {
$locale_option = $locale ? { $locale_option = $locale ? {
undef => '', undef => '',
default => "LC_COLLATE=${locale} LC_CTYPE=${locale}", default => "LC_COLLATE='${locale}' LC_CTYPE='${locale}'",
} }
$public_revoke_privilege = 'CONNECT' $public_revoke_privilege = 'CONNECT'
} else { } else {