Skip to content

Commit f468aae

Browse files
authored
Merge pull request puppetlabs#1939 from fabbks/master
Add shibboleth support for Debian 10
2 parents 49c1ebe + bb1fa6b commit f468aae

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

manifests/params.pp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -424,8 +424,10 @@
424424
$access_log_file = 'access.log'
425425
if $::osfamily == 'Debian' and versioncmp($::operatingsystemrelease, '8') < 0 {
426426
$shib2_lib = 'mod_shib_22.so'
427-
} else {
427+
} elsif ($::operatingsystem == 'Ubuntu' and versioncmp($::operatingsystemrelease, '19.04') < 0) or ($::operatingsystem == 'Debian' and versioncmp($::operatingsystemrelease, '10') < 0) {
428428
$shib2_lib = 'mod_shib2.so'
429+
} else {
430+
$shib2_lib = 'mod_shib.so'
429431
}
430432
$mod_libs = {
431433
'shib2' => $shib2_lib,

0 commit comments

Comments
 (0)