We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0418970 commit dc7e9d4Copy full SHA for dc7e9d4
manifests/server/database.pp
@@ -52,16 +52,11 @@
52
53
# Optionally set the locale switch. Older versions of createdb may not accept
54
# --locale, so if the parameter is undefined its safer not to pass it.
55
- if ($version != '8.1') {
56
- $locale_option = $locale ? {
57
- undef => '',
58
- default => "LC_COLLATE = '${locale}' LC_CTYPE = '${locale}'",
59
- }
60
- $public_revoke_privilege = 'CONNECT'
61
- } else {
62
- $locale_option = ''
63
- $public_revoke_privilege = 'ALL'
+ $locale_option = $locale ? {
+ undef => '',
+ default => "LC_COLLATE = '${locale}' LC_CTYPE = '${locale}'",
64
}
+ $public_revoke_privilege = 'CONNECT'
65
66
$template_option = $template ? {
67
undef => '',
0 commit comments