From a6f1fb91d5f466593d3ec5e647c89b228d310c0d Mon Sep 17 00:00:00 2001 From: Georg Pfuetzenreuter Date: Sat, 29 Apr 2023 23:34:12 +0200 Subject: [PATCH] Disable pkg-deps Backend webservers do not need modsecurity installed. Comment out the state and add comment about suggestion for making the modsecurity installation based on a conditional in the future. Signed-off-by: Georg Pfuetzenreuter --- apache/package/install.sls | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apache/package/install.sls b/apache/package/install.sls index c16ee37..ee0b2f7 100644 --- a/apache/package/install.sls +++ b/apache/package/install.sls @@ -4,6 +4,7 @@ {%- set tplroot = tpldir.split('/')[0] %} {%- from tplroot ~ "/map.jinja" import apache with context %} +{#- consider moving this to an optional state or enabling it with a pillar option {%- if 'deps' in apache.pkg and apache.pkg.deps and apache.pkg.deps is iterable and apache.pkg.deps is not string %} apache-package-install-deps-pkg-installed: pkg.installed: @@ -11,6 +12,7 @@ apache-package-install-deps-pkg-installed: - require: - apache-package-install-pkg-installed {%- endif %} +#} apache-package-install-pkg-installed: {%- if grains.os_family == 'Windows' %}