Fix the case of this, ARGH.
This commit is contained in:
parent
50798f3255
commit
6271f71aa8
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ describe 'mysql::server::root_password class' do
|
||||||
|
|
||||||
it 'deletes all databases' do
|
it 'deletes all databases' do
|
||||||
case fact('osfamily')
|
case fact('osfamily')
|
||||||
when 'RedHat', 'SuSE'
|
when 'RedHat', 'Suse'
|
||||||
shell('rm -rf `grep datadir /etc/my.cnf | cut -d" " -f 3`/*')
|
shell('rm -rf `grep datadir /etc/my.cnf | cut -d" " -f 3`/*')
|
||||||
when 'Debian'
|
when 'Debian'
|
||||||
shell('rm -rf `grep datadir /etc/mysql/my.cnf | cut -d" " -f 3`/*')
|
shell('rm -rf `grep datadir /etc/mysql/my.cnf | cut -d" " -f 3`/*')
|
||||||
|
|
Loading…
Reference in a new issue