Last active
June 22, 2016 20:57
-
-
Save richseviora/9a0871dd3fd8890f1e3e to your computer and use it in GitHub Desktop.
Opsworks Override for PostgreSQL Installation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Override for Opsworks as a result of bug causing postgres8 install to fail. | |
# Should be placed in the following path from the custom cookbook repository root: | |
# /opsworks_postgresql/recipes/client_install.rb | |
# | |
# Don't forget your standard metadata file in /opsworks_postgresql/metadata.rb | |
# | |
# For issue https://github.com/aws/opsworks-cookbooks/issues/347 | |
package "postgresql-devel" do | |
package_name value_for_platform( | |
["centos","redhat","fedora","amazon"] => {"default" => "postgresql93-devel"}, | |
"ubuntu" => {"default" => "libpq-dev"} | |
) | |
action :install | |
end | |
package "postgresql-client" do | |
package_name value_for_platform( | |
["centos","redhat","fedora","amazon"] => {"default" => "postgresql93"}, | |
"default" => "postgresql-client" | |
) | |
action :install | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment