Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

amazon linux defaults to postgresql92 now #731

Merged

Conversation

shawn-sterling
Copy link

module currently doesn't work with amazon linux

cat /etc/os-release
NAME="Amazon Linux AMI"
VERSION="2015.09"
ID="amzn"
ID_LIKE="rhel fedora"
VERSION_ID="2015.09"
PRETTY_NAME="Amazon Linux AMI 2015.09"
ANSI_COLOR="0;33"
CPE_NAME="cpe:/o:amazon:linux:2015.09:ga"
HOME_URL="http://aws.amazon.com/amazon-linux-ami/"

yum install postgresql-X currently will install postgresql92-X

it might be better to check if the os[release][major] == 2015 and os[release][minor] >= 9, or a few other options; but I'm not sure when amazon moved to postgresql92 by default.

This works for me, but could break people running on older version of amazon linux.

HelenCampbell pushed a commit that referenced this pull request Feb 15, 2016
amazon linux defaults to postgresql92 now
@HelenCampbell HelenCampbell merged commit 577299f into puppetlabs:master Feb 15, 2016
@HelenCampbell
Copy link
Contributor

Hey @shawn-sterling, Thank you for this! I can't seem to find which version moved to default postgres92, however since we don't technically support Amazon Linux I am happy enough to merge in your change as is. Thanks Again :)

cegeka-jenkins pushed a commit to cegeka/puppet-postgresql that referenced this pull request Oct 23, 2017
…workaround

amazon linux defaults to postgresql92 now
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants