Skip to content

Commit 7981b09

Browse files
committed
Merge pull request puppetlabs#671 from sanoma-technology/master
Allow for undefined PostGIS version.
2 parents 0ccf2b6 + cda13df commit 7981b09

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Diff for: manifests/globals.pp

+4-1
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,10 @@
123123
'93' => '2.1',
124124
default => undef,
125125
}
126-
$globals_postgis_version = pick($postgis_version, $default_postgis_version)
126+
$globals_postgis_version = $postgis_version ? {
127+
undef => $default_postgis_version,
128+
default => $postgis_version,
129+
}
127130

128131
# Setup of the repo only makes sense globally, so we are doing this here.
129132
if($manage_package_repo) {

0 commit comments

Comments
 (0)