Allow for undefined PostGIS version.
This commit is contained in:
parent
a19098cef8
commit
cda13dfd66
1 changed files with 4 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue