Browse Source

Only if policy is defined, include this statement.

pull/12/head
Michel Nederlof 7 years ago
parent
commit
de8b99052f
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      iptables/rules.sls

+ 2
- 0
iptables/rules.sls View File

@@ -18,8 +18,10 @@ iptables_{{ chain_name }}_ipv6:
- table: filter
- require:
- pkg: iptables_packages
{%- if chain.policy is defined %}
- require_in:
- iptables: iptables_{{ chain_name }}_ipv6_policy
{%- endif %}
{%- endif %}

{%- if chain.policy is defined %}

Loading…
Cancel
Save