Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

FC024: Add platform equivalents.

  • Loading branch information...
commit b6df226d88436e510b10acc0b03eebeeedcca83b 1 parent 75edcf8
Andrew Crump authored
Showing with 4 additions and 4 deletions.
  1. +2 −2 recipes/client.rb
  2. +2 −2 recipes/server_redhat.rb
View
4 recipes/client.rb
@@ -22,9 +22,9 @@
pg_packages = case node['platform']
when "ubuntu","debian"
%w{postgresql-client libpq-dev make}
-when "fedora","suse","amazon"
+when "fedora","suse"
%w{postgresql-devel}
-when "redhat","centos","scientific"
+when "redhat","centos","scientific","amazon"
case
when node['platform_version'].to_f >= 6.0
%w{postgresql-devel}
View
4 recipes/server_redhat.rb
@@ -40,7 +40,7 @@
package "postgresql" do
case node['platform']
- when "redhat","centos","scientific"
+ when "redhat","centos","scientific","amazon"
case
when node['platform_version'].to_f >= 6.0
package_name "postgresql"
@@ -53,7 +53,7 @@
end
case node['platform']
-when "redhat","centos","scientific"
+when "redhat","centos","scientific","amazon"
case
when node['platform_version'].to_f >= 6.0
package "postgresql-server"
Please sign in to comment.
Something went wrong with that request. Please try again.