Skip to content

Commit 922135d

Browse files
committed
Improve reformating of formulas.sls Jinja
1 parent f76364c commit 922135d

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

salt/formulas.sls

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,8 @@
2828
{%- do processed_basedirs.append(basedir) %}
2929
{{ basedir }}:
3030
file.directory:
31-
{%- for key, value in salt['pillar.get'](
32-
'salt_formulas:basedir_opts',
33-
{'makedirs': True}
34-
).items() %}
31+
{%- for key, value in salt['pillar.get']('salt_formulas:basedir_opts',
32+
{'makedirs': True}).items() %}
3533
- {{ key }}: {{ value }}
3634
{%- endfor %}
3735
{%- endif %}
@@ -52,9 +50,9 @@
5250
{%- endfor %}
5351
- require:
5452
- file: {{ basedir }}
55-
{%- if not update %}
53+
{%- if not update %}
5654
- onlyif: rm -fr {{ gitdir }} >/dev/null 2>&1 | true
57-
{%- endif %}
55+
{%- endif %}
5856
{%- endif %}
5957
{%- endfor %}
6058
{%- endfor %}

0 commit comments

Comments
 (0)