Compare commits

...

2 Commits

Author SHA1 Message Date
c951f48b71 Merge pull request 'Repair manage_firewall behavior' (#59) from firewall-optional into production
All checks were successful
ci/lysergic/push/pipeline Pipeline was successful
Reviewed-on: #59
2023-05-01 20:39:02 +02:00
f96e9a4901
Repair manage_firewall behavior
All checks were successful
ci/lysergic/push/pipeline Pipeline was successful
Fixup to b685f16c914b9fa05bda7c69ce9e157d04262d09, default value was
outside of conditional - it didn't cause any errors, but did not work as
expected either. :-)

Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
2023-05-01 20:35:27 +02:00

View File

@ -2,7 +2,7 @@
include:
{#- drop pillar check after all firewall configurations have been imported #}
{%- if salt['pillar.get']('manage_firewall'), False %}
{%- if salt['pillar.get']('manage_firewall', False) %}
- firewalld
{%- endif %}
- profile.seccheck