Skip to content

Commit b35f763

Browse files
authored
Merge pull request #1521 from bastelfreak/postgis
postgis: Drop EL5 leftovers and fix package name for Fedora
2 parents e5a28a0 + 02b5ebe commit b35f763

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

manifests/params.pp

+1-1
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@
9999

100100
if $postgresql::globals::postgis_package_name {
101101
$postgis_package_name = $postgresql::globals::postgis_package_name
102-
} elsif $facts['os']['release']['major'] == '5' {
102+
} elsif $facts['os']['name'] == 'Fedora' {
103103
$postgis_package_name = 'postgis'
104104
} elsif $postgis_version and versioncmp($postgis_version, '2') < 0 {
105105
$postgis_package_name = "postgis${package_version}"

0 commit comments

Comments
 (0)