From b34c987b0ddd40c34859cfd29804f2febf771492 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johan=20Bj=C3=B6rklund?= Date: Thu, 14 Nov 2024 12:32:53 +0100 Subject: [PATCH] Typo. --- global/overlay/etc/puppet/modules/soc/manifests/intelmq.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/global/overlay/etc/puppet/modules/soc/manifests/intelmq.pp b/global/overlay/etc/puppet/modules/soc/manifests/intelmq.pp index 160127f..3151df7 100644 --- a/global/overlay/etc/puppet/modules/soc/manifests/intelmq.pp +++ b/global/overlay/etc/puppet/modules/soc/manifests/intelmq.pp @@ -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'], }