Browse Source

Fix problem with stringvariable in pillar

pull/15/head
Piotr Pieprzycki 7 years ago
parent
commit
1cc43b38a0
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      iptables/rules.sls

+ 2
- 0
iptables/rules.sls View File

@@ -48,6 +48,7 @@ iptables_{{ chain_name }}_ipv6_policy:
{%- endif %}

{%- for service_name, service in pillar.items() %}
{%- if service is mapping %}
{%- if service.get('_support', {}).get('iptables', {}).get('enabled', False) %}

{%- set grains_fragment_file = service_name+'/meta/iptables.yml' %}
@@ -59,6 +60,7 @@ iptables_{{ chain_name }}_ipv6_policy:
{% include "iptables/_rule.sls" %}
{%- endfor %}

{%- endif %}
{%- endif %}
{%- endfor %}


Loading…
Cancel
Save