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 <mail@georg-pfuetzenreuter.net>
This commit is contained in:
parent
e1685ffbeb
commit
a6f1fb91d5
@ -4,6 +4,7 @@
|
|||||||
{%- set tplroot = tpldir.split('/')[0] %}
|
{%- set tplroot = tpldir.split('/')[0] %}
|
||||||
{%- from tplroot ~ "/map.jinja" import apache with context %}
|
{%- 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 %}
|
{%- 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:
|
apache-package-install-deps-pkg-installed:
|
||||||
pkg.installed:
|
pkg.installed:
|
||||||
@ -11,6 +12,7 @@ apache-package-install-deps-pkg-installed:
|
|||||||
- require:
|
- require:
|
||||||
- apache-package-install-pkg-installed
|
- apache-package-install-pkg-installed
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
|
#}
|
||||||
|
|
||||||
apache-package-install-pkg-installed:
|
apache-package-install-pkg-installed:
|
||||||
{%- if grains.os_family == 'Windows' %}
|
{%- if grains.os_family == 'Windows' %}
|
||||||
|
Loading…
Reference in New Issue
Block a user