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

postgis package logic is broken for EL8/EL9 #1522

Open
bastelfreak opened this issue Sep 27, 2023 · 0 comments
Open

postgis package logic is broken for EL8/EL9 #1522

bastelfreak opened this issue Sep 27, 2023 · 0 comments

Comments

@bastelfreak
Copy link
Collaborator

Describe the Bug

This is a followup issue for #1521 / #1519. There's some logic in manifests/params.pp to figure out the correct name for the postgis package:

      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 {
        $postgis_package_name = "postgis${package_version}"
      } else {
        $postgis_package_name = "postgis2_${package_version}"
      }

There's no matching package on EL8/EL9 (tested via https://pkgs.org/search/?q=postgis). Also there seems to be no suitable acceptance test to verify this is actually working.

Expected Behavior

Aa working postgresql installation on EL8/EL9 with postgis extension

Steps to Reproduce

Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'

Environment

  • Version [e.g. 1.27.0]
  • Platform [e.g. Ubuntu 18.04]

Additional Context

Add any other context about the problem here.

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

No branches or pull requests

2 participants