Bugfixes for apache.

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

View file

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