Change mysql default charset to utf8

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

Change-Id: Iac22a6f66e889157bd1f327da50e0186e04651dc
This commit is contained in:
Ivan Chavero 2014-03-31 22:09:30 -07:00
parent 3fc1cc41cb
commit dba437e8af
2 changed files with 3 additions and 3 deletions

View File

@ -13,8 +13,8 @@ class glance::db::mysql(
$user = 'glance',
$host = '127.0.0.1',
$allowed_hosts = undef,
$charset = 'latin1',
$collate = 'latin1_swedish_ci',
$charset = 'utf8',
$collate = 'utf8_unicode_ci',
$cluster_id = 'localzone',
$mysql_module = '0.9'
) {

View File

@ -24,7 +24,7 @@ describe 'glance::db::mysql' do
it { should contain_mysql__db('glance').with(
:password => 'glancepass1',
:require => 'Class[Mysql::Config]',
:charset => 'latin1'
:charset => 'utf8'
)}
end