diff --git a/spec/acceptance/mysql_server_root_password_spec.rb b/spec/acceptance/mysql_server_root_password_spec.rb index c60d2aa..cf866d7 100644 --- a/spec/acceptance/mysql_server_root_password_spec.rb +++ b/spec/acceptance/mysql_server_root_password_spec.rb @@ -17,7 +17,7 @@ describe 'mysql::server::root_password class' do it 'deletes all databases' do case fact('osfamily') - when 'RedHat', 'SuSE' + when 'RedHat', 'Suse' shell('rm -rf `grep datadir /etc/my.cnf | cut -d" " -f 3`/*') when 'Debian' shell('rm -rf `grep datadir /etc/mysql/my.cnf | cut -d" " -f 3`/*')