Change heat mysql default charset to utf8

Changed the default charset to uf8 and the
collation to utf8_unicode_ci.

Change-Id: I52e4af03d58149c705a5a6e1effe9cac130f9ae3
This commit is contained in:
Ivan Chavero 2014-03-31 22:41:09 -07:00
parent cb62885d23
commit 455fd63406
2 changed files with 5 additions and 5 deletions

View File

@ -21,12 +21,12 @@
# Optional. Defaults to undef.
#
# [*charset*]
# the database charset. Optional. Defaults to 'latin1'
# the database charset. Optional. Defaults to 'utf8'
#
# [*collate*]
# the database collate. Optional. Only used with mysql modules
# >= 2.2
# Defaults to 'latin1_swedish_ci'
# Defaults to 'utf8_unicode_ci'
#
# [*mysql_module*]
# The version of the mysql puppet module to use.
@ -39,8 +39,8 @@ class heat::db::mysql(
$user = 'heat',
$host = 'localhost',
$allowed_hosts = undef,
$charset = 'latin1',
$collate = 'latin1_swedish_ci',
$charset = 'utf8',
$collate = 'utf8_unicode_ci',
$mysql_module = '0.9'
) {

View File

@ -10,7 +10,7 @@ describe 'heat::db::mysql' do
:dbname => 'heat',
:user => 'heat',
:host => 'localhost',
:charset => 'latin1',
:charset => 'utf8',
:mysql_module => '0.9'
}
end