We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
formulas.sls
1 parent f76364c commit 922135dCopy full SHA for 922135d
salt/formulas.sls
@@ -28,10 +28,8 @@
28
{%- do processed_basedirs.append(basedir) %}
29
{{ basedir }}:
30
file.directory:
31
- {%- for key, value in salt['pillar.get'](
32
- 'salt_formulas:basedir_opts',
33
- {'makedirs': True}
34
- ).items() %}
+ {%- for key, value in salt['pillar.get']('salt_formulas:basedir_opts',
+ {'makedirs': True}).items() %}
35
- {{ key }}: {{ value }}
36
{%- endfor %}
37
{%- endif %}
@@ -52,9 +50,9 @@
52
50
53
51
- require:
54
- file: {{ basedir }}
55
- {%- if not update %}
+ {%- if not update %}
56
- onlyif: rm -fr {{ gitdir }} >/dev/null 2>&1 | true
57
- {%- endif %}
+ {%- endif %}
58
59
60
0 commit comments