Skip to content

Commit

Permalink
MODULES-10712 fix mod_ldap on RH/CentOS 5 and 6
Browse files Browse the repository at this point in the history
  • Loading branch information
Hugo Haakseth committed Jun 19, 2020
1 parent 1fc62ae commit 2b6ec77
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions manifests/params.pp
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@
$suphp_configpath = undef
$php_version = $facts['operatingsystemmajrelease'] ? {
'8' => '7', # RedHat8
default => '5', # RedHat5, RedHat6, RedHat7
default => '5', # RedHat5, RedHat6, RedHat7
}
$mod_packages = {
# NOTE: The auth_cas module isn't available on RH/CentOS without providing dependency packages provided by EPEL.
Expand All @@ -221,7 +221,11 @@
'fcgid' => 'mod_fcgid',
'geoip' => 'mod_geoip',
'intercept_form_submit' => 'mod_intercept_form_submit',
'ldap' => 'mod_ldap',
'ldap' => $::apache::version::distrelease ? {
'5' => undef,
'6' => undef,
default => 'mod_ldap',
},
'lookup_identity' => 'mod_lookup_identity',
'pagespeed' => 'mod-pagespeed-stable',
# NOTE: The passenger module isn't available on RH/CentOS without
Expand Down

0 comments on commit 2b6ec77

Please sign in to comment.