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

- table: filter - table: filter
- require: - require:
- pkg: iptables_packages - pkg: iptables_packages
{%- if chain.policy is defined %}
- require_in: - require_in:
- iptables: iptables_{{ chain_name }}_ipv6_policy - iptables: iptables_{{ chain_name }}_ipv6_policy
{%- endif %}
{%- endif %} {%- endif %}


{%- if chain.policy is defined %} {%- if chain.policy is defined %}

Loading…
Cancel
Save