Skip to content

Commit

Permalink
Fix the case of this, ARGH.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ashley Penney committed Feb 25, 2014
1 parent 50798f3 commit 6271f71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/acceptance/mysql_server_root_password_spec.rb
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class { 'mysql::server': service_enabled => false }


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`/*')
Expand Down

0 comments on commit 6271f71

Please sign in to comment.