Skip to content

Commit 0ccf2b6

Browse files
committed
Merge pull request puppetlabs#674 from ckaenzig/fix-postgis-pkg-name
Fix postgis default package name on RedHat
2 parents 7cb4b9d + 1956881 commit 0ccf2b6

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
@@ -72,7 +72,7 @@
7272
$postgis_package_name = pick(
7373
$postgis_package_name,
7474
$::operatingsystemrelease ? {
75-
/5/ => 'postgis',
75+
/^5\./ => 'postgis',
7676
default => versioncmp($postgis_version, '2') ? {
7777
'-1' => "postgis${package_version}",
7878
default => "postgis2_${package_version}",}

0 commit comments

Comments
 (0)