|
|
|
|
|
|
|
|
# exist in that repo as *local* refs. |
|
|
# exist in that repo as *local* refs. |
|
|
{% 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 mapping %} |
|
|
{%- for repo, children in remote.iteritems() -%} |
|
|
|
|
|
|
|
|
{% for repo, children in remote.iteritems() %} |
|
|
- {{ repo }}: |
|
|
- {{ repo }}: |
|
|
{%- for child in children %} |
|
|
|
|
|
{% for key, value in child.iteritems() -%} |
|
|
|
|
|
|
|
|
{% for child in children %} |
|
|
|
|
|
{% for key, value in child.iteritems() %} |
|
|
- {{ key }}: {{ value }} |
|
|
- {{ key }}: {{ value }} |
|
|
{%- endfor %} |
|
|
|
|
|
{%- endfor %} |
|
|
|
|
|
{%- endfor %} |
|
|
|
|
|
{%- else -%} |
|
|
|
|
|
|
|
|
{% endfor %} |
|
|
|
|
|
{% endfor %} |
|
|
|
|
|
{% endfor %} |
|
|
|
|
|
{% else %} |
|
|
- {{ remote }} |
|
|
- {{ remote }} |
|
|
{%- endif %} |
|
|
|
|
|
{%- endfor %} |
|
|
|
|
|
{%- endif %} |
|
|
|
|
|
|
|
|
{% endif %} |
|
|
|
|
|
{% endfor %} |
|
|
|
|
|
{% endif %} |
|
|
# |
|
|
# |
|
|
#gitfs_remotes: |
|
|
#gitfs_remotes: |
|
|
# - git://github.com/saltstack/salt-states.git |
|
|
# - git://github.com/saltstack/salt-states.git |