Skip to content

Commit 1c32ba1

Browse files
author
Wilson McCoubrey
committed
(maint) Fix CI issue where acceptance tests fail on SLES
Caused by float passed to versioncmp function which expects a string, which is only executed when OS == SLES
1 parent 22cf23e commit 1c32ba1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

manifests/params.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@
278278
$bindir = pick($bindir, "/usr/lib/postgresql${version}/bin")
279279
$datadir = pick($datadir, '/var/lib/pgsql/data')
280280
$confdir = pick($confdir, $datadir)
281-
if $::operatingsystem == 'SLES' and versioncmp($::operatingsystemrelease, 11.4) <= 0 {
281+
if $::operatingsystem == 'SLES' and versioncmp($::operatingsystemrelease, '11.4') <= 0 {
282282
$service_status = pick($service_status, "/etc/init.d/${service_name} status")
283283
$service_reload = "/etc/init.d/${service_name} reload"
284284
} else {

0 commit comments

Comments
 (0)