-
Notifications
You must be signed in to change notification settings - Fork 613
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
postgis: Drop EL5 leftovers and fix package name for Fedora #1521
Conversation
@@ -99,8 +99,6 @@ | |||
|
|||
if $postgresql::globals::postgis_package_name { | |||
$postgis_package_name = $postgresql::globals::postgis_package_name | |||
} elsif $facts['os']['release']['major'] == '5' { | |||
$postgis_package_name = 'postgis' | |||
} elsif $postgis_version and versioncmp($postgis_version, '2') < 0 { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As I noted elsewhere: in EL 8 & EL 9 I didn't find a postgis package. For the official packages I see there's postgis32 and postgis33 (https://download.postgresql.org/pub/repos/yum/15/redhat/rhel-9-x86_64/) so the else condition isn't quite true either.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not really sure how we should move forward. It seems like there are no acceptance tests for this code and I don't know on which systems they work / are supposed to work. My goal was to simplify the conditions here and clean it up. I can raise a ticket about the mismatch.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sounds good to me.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
raised #1522
6b4a0a0
to
02b5ebe
Compare
Summary
Provide a detailed description of all the changes present in this pull request.
Additional Context
Add any additional context about the problem here.
Related Issues (if any)
Mention any related issues or pull requests.
Checklist
puppet apply
)