Merge pull request #171 from ctrlaltdel/fix-default-storage-engine

[Important] Fix default-storage-engine default value
This commit is contained in:
Dan Bode 2013-04-28 13:11:30 -07:00
commit d8fbc283e0
2 changed files with 3 additions and 1 deletions

View file

@ -14,7 +14,7 @@ class mysql::params {
$bind_address = '127.0.0.1'
$config_template = 'mysql/my.cnf.erb'
$default_engine = undef
$default_engine = 'UNSET'
$etc_root_password = false
$manage_service = true
$old_root_password = ''

View file

@ -163,6 +163,8 @@ describe 'mysql::config' do
]
if param_values[:default_engine] != 'UNSET'
expected_lines = expected_lines | [ "default-storage-engine = #{param_values[:default_engine]}" ]
else
content.should_not match(/^default-storage-engine = /)
end
if param_values[:ssl]
expected_lines = expected_lines |