Closed
Description
Describe the Bug
When using mod auth_kerb
, package libapache2-mod-auth-kerb
is missing in $mod_packages
Edit:
The log says:
systemd[1]: Starting The Apache HTTP Server...
apachectl[76858]: apache2: Syntax error on line 39 of /etc/apache2/apache2.conf: Syntax error on line 1 of /etc/apache2/mods-enabled/auth_kerb.load: Cannot load /usr/lib/apache2/modules/mod_auth_kerb.so into server: /usr/lib/apache2/modules/mod_auth_kerb.so: cannot open shared object file: No such file or directory
apachectl[76855]: Action 'start' failed.
apachectl[76855]: The Apache error log may have more information.
systemd[1]: apache2.service: Control process exited, code=exited, status=1/FAILURE
systemd[1]: apache2.service: Failed with result 'exit-code'.
systemd[1]: Failed to start The Apache HTTP Server.
And that file is provided by libapache2-mod-auth-kerb
Expected Behavior
Puppet installes required package libapache2-mod-auth-kerb
, if containing apache::mod::auth_kerb
Steps to Reproduce
apache::vhost { 'my_vhost':
[…]
auth_kerb => true,
[…]
}
Environment
- Version v9.1.2
- Platform Ubuntu 22.04
Additional Context
Filling $mod_packages
got changed in f9710ef7