From 7da141721b5cd249aaec465e638ea5eddecc929d Mon Sep 17 00:00:00 2001 From: Niels Abspoel Date: Tue, 9 Dec 2014 23:22:06 +0100 Subject: [PATCH] fix spacing with gitfs. Updated gitfs jinja, to mirror master file --- salt/files/minion.d/_defaults.conf | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/salt/files/minion.d/_defaults.conf b/salt/files/minion.d/_defaults.conf index 598c86d..14f6fba 100644 --- a/salt/files/minion.d/_defaults.conf +++ b/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