Browse Source

Allow repo options to be set per repo for gitfs_remotes in pillar

tags/v0.57.0
Ajna Cackovic 10 years ago
parent
commit
2b51a6f0c3
1 changed files with 13 additions and 1 deletions
  1. +13
    -1
      salt/files/master.d/_defaults.conf

+ 13
- 1
salt/files/master.d/_defaults.conf View File

@@ -484,7 +484,19 @@ fileserver_backend:
{% if 'gitfs_remotes' in master -%}
gitfs_remotes:
{%- for remote in master['gitfs_remotes'] %}
- {{ remote }}{% endfor -%}
{% if remote is mapping %}
{%- for repo, children in remote.iteritems() -%}
- {{ repo }}:
{%- for child in children %}
{% for key, value in child.iteritems() -%}
- {{ key }}: {{ value }}
{%- endfor %}
{%- endfor %}
{%- endfor %}
{%- else -%}
- {{ remote }}
{%- endif %}
{%- endfor %}
{%- endif %}
#
#gitfs_remotes:

Loading…
Cancel
Save