Skip to content

Commit

Permalink
postis: fix package name for Fedora
Browse files Browse the repository at this point in the history
  • Loading branch information
bastelfreak committed Sep 27, 2023
1 parent da7b180 commit 6b4a0a0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions manifests/params.pp
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,8 @@

if $postgresql::globals::postgis_package_name {
$postgis_package_name = $postgresql::globals::postgis_package_name
} elsif $facts['os']['name'] == 'Fedora' {
$postgis_package_name = 'postgis'
} elsif $postgis_version and versioncmp($postgis_version, '2') < 0 {
$postgis_package_name = "postgis${package_version}"
} else {
Expand Down

0 comments on commit 6b4a0a0

Please sign in to comment.