Merge pull request #70 from aboe76/fix_gitfs_spacing
fix spacing with gitfs.
This commit is contained in:
commit
0d8b10bb75
|
@ -453,20 +453,20 @@ file_roots:
|
||||||
{% if 'gitfs_remotes' in minion -%}
|
{% if 'gitfs_remotes' in minion -%}
|
||||||
gitfs_remotes:
|
gitfs_remotes:
|
||||||
{%- for remote in minion['gitfs_remotes'] %}
|
{%- for remote in minion['gitfs_remotes'] %}
|
||||||
{% if remote is mapping %}
|
{%- if remote is iterable and remote is not string %}
|
||||||
{%- for repo, children in remote.iteritems() -%}
|
{%- for repo, children in remote.iteritems() %}
|
||||||
- {{ repo }}:
|
- {{ repo }}:
|
||||||
{%- for child in children %}
|
{%- for child in children %}
|
||||||
{% for key, value in child.iteritems() -%}
|
{%- for key, value in child.iteritems() %}
|
||||||
- {{ key }}: {{ value }}
|
- {{ key }}: {{ value }}
|
||||||
{%- endfor %}
|
{%- endfor -%}
|
||||||
{%- endfor %}
|
{%- endfor -%}
|
||||||
{%- endfor %}
|
{%- endfor -%}
|
||||||
{%- else -%}
|
{%- else %}
|
||||||
- {{ remote }}
|
- {{ remote }}
|
||||||
{%- endif %}
|
{%- endif -%}
|
||||||
{%- endfor %}
|
{%- endfor -%}
|
||||||
{%- endif %}
|
{%- endif -%}
|
||||||
#
|
#
|
||||||
#gitfs_remotes:
|
#gitfs_remotes:
|
||||||
# - git://github.com/saltstack/salt-states.git
|
# - git://github.com/saltstack/salt-states.git
|
||||||
|
|
Loading…
Reference in New Issue