forked from SUNET/soc-ops
Bugfixes for apache.
This commit is contained in:
parent
0d1c0deb77
commit
5680917ded
1 changed files with 1 additions and 2 deletions
|
@ -191,8 +191,7 @@ class soc::intelmq(
|
|||
|
||||
$apache_modules = ['ssl', 'proxy', 'proxy_http', 'headers', 'rewrite',]
|
||||
$apache_modules.each |String $module| {
|
||||
exec { 'Enable Apache2 modules':
|
||||
command => "a2enmod ${module}",
|
||||
exec { "a2enmod ${module}",
|
||||
notify => Service['apache2'],
|
||||
unless => "test -f /etc/apache2/mods-enabled/${module}.load",
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue