diff options
author | Georg Pfuetzenreuter | 2023-04-30 16:07:21 +0200 |
---|---|---|
committer | Georg Pfuetzenreuter | 2023-04-30 16:07:21 +0200 |
commit | b685f16c914b9fa05bda7c69ce9e157d04262d09 (patch) | |
tree | 5cc9a630225f45241ab42504885d0b1d28c53e07 /salt/common/suse.sls | |
parent | f90197f791dbedced8867309b0bb7c57c596ff04 (diff) | |
download | salt-b685f16c914b9fa05bda7c69ce9e157d04262d09.tar.gz salt-b685f16c914b9fa05bda7c69ce9e157d04262d09.tar.bz2 salt-b685f16c914b9fa05bda7c69ce9e157d04262d09.zip |
Add manage_firewall conditional
Allow us to enroll machines in Salt which do not yet have their firewall
configuration imported without having their rules overwritten.
Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
Diffstat (limited to 'salt/common/suse.sls')
-rw-r--r-- | salt/common/suse.sls | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/salt/common/suse.sls b/salt/common/suse.sls index 764517e..01c7333 100644 --- a/salt/common/suse.sls +++ b/salt/common/suse.sls @@ -1,5 +1,8 @@ include: + {#- drop pillar check after all firewall configurations have been imported #} + {%- if salt['pillar.get']('manage_firewall'), False %} - firewalld + {%- endif %} - profile.seccheck - profile.zypp - profile.prometheus.node_exporter |