Allow for undefined PostGIS version.

This commit is contained in:
Steve Maddison 2015-07-10 13:19:19 +02:00
parent a19098cef8
commit cda13dfd66

View file

@ -123,7 +123,10 @@ class postgresql::globals (
'93' => '2.1',
default => undef,
}
$globals_postgis_version = pick($postgis_version, $default_postgis_version)
$globals_postgis_version = $postgis_version ? {
undef => $default_postgis_version,
default => $postgis_version,
}
# Setup of the repo only makes sense globally, so we are doing this here.
if($manage_package_repo) {