apache2
apache2 copied to clipboard
Package mod_ldap not installed on Centos if you enable mod_ldap
:ghost: Brief Description
If you use the resource apache2_install with the modules: ldap and authnz_ldap on Centos 7 Systems the rpm package mod_ldap.x86_64 will not be installed
:pancakes: Cookbook version
8.14.1
:woman_cook: Chef-Infra Version
16.16.13
:tophat: Platform details
CentOS Linux release 7.7.1908 (Core) on AWS
Steps To Reproduce
Steps to reproduce the behavior:
apache2_install 'default_install' do
modules ['ldap', 'authnz_ldap']
end
result in:
apache-kitchen httpd[18717]: httpd: Syntax error on line 85 of /etc/httpd/conf/httpd.conf: Syntax error on line 1 of /etc/httpd/mods-enabled/authnz_ldap.load: Cannot load /usr/lib64/httpd/modules/mod_authnz_ldap
[root@apache-kitchen ~]# cat /etc/httpd/mods-enabled/authnz_ldap.load
LoadModule authnz_ldap_module /usr/lib64/httpd/modules/mod_authnz_ldap.so
[root@apache-kitchen ~]# ls -l /usr/lib64/httpd/modules/mod_authnz_ldap.so
ls: cannot access /usr/lib64/httpd/modules/mod_authnz_ldap.so: No such file or directory
[root@apache-kitchen ~]#
:police_car: Expected behavior
the rpm package mod_ldap.x86_64 should be installed by the cookbook.
:heavy_plus_sign: Additional context
Add any other context about the problem here. e.g. related issues or existing pull requests.