Parcourir la source

Improved jinja spacing in template

This will make the _defaults.conf file for master and minion
better by removing some empty lines in some code blocks
tags/v0.57.0
Niels Abspoel il y a 10 ans
Parent
révision
4b0ec5dc01
1 fichiers modifiés avec 12 ajouts et 12 suppressions
  1. +12
    -12
      salt/files/minion.d/_defaults.conf

+ 12
- 12
salt/files/minion.d/_defaults.conf Voir le fichier

@@ -452,21 +452,21 @@ file_roots:
# exist in that repo as *local* refs.
{% if 'gitfs_remotes' in minion -%}
gitfs_remotes:
{% for remote in minion['gitfs_remotes'] %}
{% if remote is mapping %}
{% for repo, children in remote.iteritems() %}
{%- for remote in minion['gitfs_remotes'] %}
{%- if remote is iterable and remote is not string %}
{%- for repo, children in remote.iteritems() %}
- {{ repo }}:
{% for child in children %}
{% for key, value in child.iteritems() %}
{%- for child in children %}
{%- for key, value in child.iteritems() %}
- {{ key }}: {{ value }}
{% endfor %}
{% endfor %}
{% endfor %}
{% else %}
{%- endfor -%}
{%- endfor -%}
{%- endfor -%}
{%- else %}
- {{ remote }}
{% endif %}
{% endfor %}
{% endif %}
{%- endif -%}
{%- endfor -%}
{%- endif -%}
#
#gitfs_remotes:
# - git://github.com/saltstack/salt-states.git

Chargement…
Annuler
Enregistrer