Merge pull request #12 from netmanagers/master

Add warning header to salt-generated files
This commit is contained in:
Niels Abspoel 2017-05-25 23:58:49 +02:00 committed by GitHub
commit be25aa2fa6
5 changed files with 25 additions and 0 deletions

View File

@ -1,4 +1,9 @@
<?xml version="1.0" encoding="utf-8"?> <?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
-->
<direct> <direct>
{%- if 'chain' in direct %} {%- if 'chain' in direct %}
{%- for k, v in direct.chain.items() %} {%- for k, v in direct.chain.items() %}

View File

@ -1,4 +1,9 @@
{% set firewalld = pillar.get('firewalld', {}) -%} {% set firewalld = pillar.get('firewalld', {}) -%}
#
# This file is managed/generated by salt.
# Do not edit this file manually, it will be overwritten!
# Modify the salt pillar for firewalld instead
#
# firewalld config file # firewalld config file
# default zone # default zone

View File

@ -1,4 +1,9 @@
<?xml version="1.0" encoding="utf-8"?> <?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 %}> <ipset{%- if 'type' in ipset %} type="{{ ipset.type }}" {%- endif %}>
{%- if 'short' in ipset %} {%- if 'short' in ipset %}
<short>{{ ipset.short }}</short> <short>{{ ipset.short }}</short>

View File

@ -1,4 +1,9 @@
<?xml version="1.0" encoding="utf-8"?> <?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
-->
<service version="1"> <service version="1">
{% if 'short' in service %}<short>{{ service.short }}</short>{%- else %}<short>{{ name }}</short>{%- endif %} {% if 'short' in service %}<short>{{ service.short }}</short>{%- else %}<short>{{ name }}</short>{%- endif %}
{% if 'description' in service %}<description>{{ service.description }}</description>{%- endif %} {% if 'description' in service %}<description>{{ service.description }}</description>{%- endif %}

View File

@ -1,4 +1,9 @@
<?xml version="1.0" encoding="utf-8"?> <?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
-->
<zone{%- if 'target' in zone %} target="{{ zone.target }}"{%- endif %}> <zone{%- if 'target' in zone %} target="{{ zone.target }}"{%- endif %}>
{% if 'short' in zone %}<short>{{ zone.short }}</short>{% else %}<short>{{ name }}</short>{% endif %} {% if 'short' in zone %}<short>{{ zone.short }}</short>{% else %}<short>{{ name }}</short>{% endif %}
{% if 'description' in zone %}<description>{{ zone.description }}</description>{% endif %} {% if 'description' in zone %}<description>{{ zone.description }}</description>{% endif %}