Browse Source

Merge pull request #70 from aboe76/fix_gitfs_spacing

fix spacing with gitfs.
tags/v0.57.0
Seth House 10 years ago
parent
commit
0d8b10bb75
1 changed files with 10 additions and 10 deletions
  1. +10
    -10
      salt/files/minion.d/_defaults.conf

+ 10
- 10
salt/files/minion.d/_defaults.conf View File

@@ -453,20 +453,20 @@ file_roots:
{% if 'gitfs_remotes' in minion -%}
gitfs_remotes:
{%- for remote in minion['gitfs_remotes'] %}
{% if remote is mapping %}
{%- for repo, children in remote.iteritems() -%}
{%- 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 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

Loading…
Cancel
Save