Bugfixes for apache.

This commit is contained in:
Johan Björklund 2024-11-19 13:31:54 +01:00
parent 0d1c0deb77
commit 5680917ded
Signed by untrusted user: bjorklund
GPG key ID: 5E8401339C7F5037

View file

@ -191,8 +191,7 @@ class soc::intelmq(
$apache_modules = ['ssl', 'proxy', 'proxy_http', 'headers', 'rewrite',] $apache_modules = ['ssl', 'proxy', 'proxy_http', 'headers', 'rewrite',]
$apache_modules.each |String $module| { $apache_modules.each |String $module| {
exec { 'Enable Apache2 modules': exec { "a2enmod ${module}",
command => "a2enmod ${module}",
notify => Service['apache2'], notify => Service['apache2'],
unless => "test -f /etc/apache2/mods-enabled/${module}.load", unless => "test -f /etc/apache2/mods-enabled/${module}.load",
} }