Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Updates based on feedback from foodcritic:

  * FC024: Consider adding platform equivalents
  * http://acrmp.github.com/foodcritic/\#FC024
  • Loading branch information...
commit e94754e6292403b9edc674c6f3056e4a8b16d902 1 parent 73bb989
@nathenharvey nathenharvey authored
Showing with 5 additions and 5 deletions.
  1. +2 −2 recipes/client.rb
  2. +1 −1  recipes/default.rb
  3. +2 −2 recipes/server.rb
View
4 recipes/client.rb
@@ -19,7 +19,7 @@
require_recipe "percona-install"
case node["platform"]
-when "redhat","centos","fedora","suse"
+when "redhat","centos","fedora","suse", "amazon", "scientific"
package "Percona-Server-client-55"
package "Percona-Server-devel-55"
when "debian","ubuntu"
@@ -29,4 +29,4 @@
package "percona-server-client-5.5"
package "libmysqlclient-dev"
-end
+end
View
2  recipes/default.rb
@@ -17,7 +17,7 @@
#
case node["platform"]
-when "redhat","centos","fedora","suse"
+when "redhat","centos","fedora","suse", "amazon", "scientific"
arch = node["kernel"]["machine"]
arch = "i386" unless arch == "x86_64"
View
4 recipes/server.rb
@@ -19,7 +19,7 @@
require_recipe "percona-install"
case node["platform"]
-when "redhat","centos","fedora","suse"
+when "redhat","centos","fedora","suse", "amazon", "scientific"
execute "remove conflicting mysql-libs" do
command "rpm -e --nodeps mysql-libs "
end
@@ -57,4 +57,4 @@
group "root"
mode 0600
end
-end
+end
Please sign in to comment.
Something went wrong with that request. Please try again.