Merge "MySQL: change default MySQL collate to utf8_general_ci"
This commit is contained in:
commit
a758389de6
@ -24,7 +24,7 @@
|
||||
# the database charset. Optional. Defaults to 'utf8'
|
||||
#
|
||||
# [*collate*]
|
||||
# the database collation. Optional. Defaults to 'utf8_unicode_ci'
|
||||
# the database collation. Optional. Defaults to 'utf8_general_ci'
|
||||
#
|
||||
# [*mysql_module*]
|
||||
# (optional) Deprecated. Does nothing.
|
||||
@ -40,7 +40,7 @@ class glance::db::mysql(
|
||||
$host = '127.0.0.1',
|
||||
$allowed_hosts = undef,
|
||||
$charset = 'utf8',
|
||||
$collate = 'utf8_unicode_ci',
|
||||
$collate = 'utf8_general_ci',
|
||||
$cluster_id = 'localzone',
|
||||
$mysql_module = undef,
|
||||
) {
|
||||
|
@ -20,7 +20,8 @@ describe 'glance::db::mysql' do
|
||||
|
||||
it { is_expected.to contain_openstacklib__db__mysql('glance').with(
|
||||
:password_hash => '*41C910F70EB213CF4CB7B2F561B4995503C0A87B',
|
||||
:charset => 'utf8'
|
||||
:charset => 'utf8',
|
||||
:collate => 'utf8_general_ci',
|
||||
)}
|
||||
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user