Fix broken test on RedHat.
This commit is contained in:
parent
e303e361b7
commit
353c19dae8
1 changed files with 1 additions and 1 deletions
|
@ -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`/*')
|
||||
|
|
Loading…
Reference in a new issue