Saltstack Official FirewallD Formula
Вы не можете выбрать более 25 тем
Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
|
- <?xml version="1.0" encoding="utf-8"?>
- <!--
- This file is managed/generated by salt.
- Do not edit this file manually, it will be overwritten!
- Modify the salt pillar for firewalld instead
- -->
- <ipset{%- if 'type' in ipset %} type="{{ ipset.type }}" {%- endif %}>
- {%- if 'short' in ipset %}
- <short>{{ ipset.short }}</short>
- {%- endif %}
- {%- if 'description' in ipset %}
- <description>{{ ipset.description }}</description>
- {%- endif %}
- {%- if 'options' in ipset %}
- {%- if 'maxelem' in ipset.options %}
- {%- for v in ipset.options.maxelem %}
- <option name="maxelem" value="{{ v }}"/>
- {%- endfor %}
- {%- endif %}
- {%- if 'timeout' in ipset.options %}
- {%- for v in ipset.options.timeout %}
- <option name="timeout" value="{{ v }}"/>
- {%- endfor %}
- {%- endif %}
- {%- if 'hashsize' in ipset.options %}
- {%- for v in ipset.options.hashsize %}
- <option name="hashsize" value="{{ v }}"/>
- {%- endfor %}
- {%- endif %}
- {%- if 'family' in ipset.options %}
- {%- for v in ipset.options.family %}
- <option name="family" value="{{ v }}"/>
- {%- endfor %}
- {%- endif %}
- {%- endif %}
- {%- if 'entries' in ipset %}
- {%- for v in ipset.entries %}
- <entry>{{ v }}</entry>
- {%- endfor %}
- {%- endif %}
- </ipset>
|