9
0
Fork 1
This commit is contained in:
Johan Björklund 2024-11-14 12:32:53 +01:00
parent 569c9f6757
commit b34c987b0d
Signed by: bjorklund
GPG key ID: 5E8401339C7F5037

View file

@ -73,7 +73,7 @@ class soc::intelmq(
exec { 'Enable Apache2 modules':
command => 'a2enmod ssl wsgi proxy proxy_http header rewrite',
creates => ['/etc/apache2/mods-enabled/ssl.load', '/etc/apache2/mods-enabled/wsgi.load', '/etc/apache2/mods-enabled/proxy.load', '/etc/apache2/mods-enabled/proxy_http.load', '/etc/apache2/mods-enabled/header.load', '/etc/apache2/mods-enabled/rewrite.load'],
unless => ['test -f /etc/apache2/mods-enabled/ssl.load', 'test -f /etc/apache2/mods-enabled/wsgi.load', 'test -f /etc/apache2/mods-enabled/proxy.load', 'test -f /etc/apache2/mods-enabled/proxy_http.load', 'test -f /etc/apache2/mods-enabled/header.load', 'test -f /etc/apache2/mods-enabled/rewrite.load'],
notify => Service['apache2'],
require => Package['libapache2-mod-wsgi-py3'],
}