Fix broken test on RedHat.

This commit is contained in:
Ashley Penney 2013-11-14 18:40:46 -05:00
parent e303e361b7
commit 353c19dae8

View file

@ -19,7 +19,7 @@ describe 'mysql::server::root_password class' do
it 'deletes all databases' do
case node.facts['osfamily']
when 'Redhat'
when 'RedHat'
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`/*')