浏览代码

fix spacing with gitfs.

Updated gitfs jinja, to mirror master file
master
Niels Abspoel 10 年前
父节点
当前提交
7da141721b
共有 1 个文件被更改,包括 11 次插入11 次删除
  1. +11
    -11
      salt/files/minion.d/_defaults.conf

+ 11
- 11
salt/files/minion.d/_defaults.conf 查看文件

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

正在加载...
取消
保存