Add warning header to salt-generated files

This commit is contained in:
Javier Bértoli 2017-05-25 18:51:04 -03:00
parent 462964c184
commit 141d8a4781
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 %}