|
|
|
|
|
|
|
|
{%- endif %} |
|
|
{%- endif %} |
|
|
|
|
|
|
|
|
{%- for service_name, service in pillar.items() %} |
|
|
{%- for service_name, service in pillar.items() %} |
|
|
|
|
|
{%- if service is mapping %} |
|
|
{%- if service.get('_support', {}).get('iptables', {}).get('enabled', False) %} |
|
|
{%- if service.get('_support', {}).get('iptables', {}).get('enabled', False) %} |
|
|
|
|
|
|
|
|
{%- set grains_fragment_file = service_name+'/meta/iptables.yml' %} |
|
|
{%- set grains_fragment_file = service_name+'/meta/iptables.yml' %} |
|
|
|
|
|
|
|
|
{% include "iptables/_rule.sls" %} |
|
|
{% include "iptables/_rule.sls" %} |
|
|
{%- endfor %} |
|
|
{%- endfor %} |
|
|
|
|
|
|
|
|
|
|
|
{%- endif %} |
|
|
{%- endif %} |
|
|
{%- endif %} |
|
|
{%- endfor %} |
|
|
{%- endfor %} |
|
|
|
|
|
|