fix(jinja): stop repeating user/group args
This commit is contained in:
parent
d61e671fa0
commit
e313401cd6
@ -38,11 +38,11 @@
|
|||||||
{%- for key, value in salt['pillar.get']('salt_formulas:basedir_opts',
|
{%- for key, value in salt['pillar.get']('salt_formulas:basedir_opts',
|
||||||
{'makedirs': True}).items() %}
|
{'makedirs': True}).items() %}
|
||||||
- {{ key }}: {{ value }}
|
- {{ key }}: {{ value }}
|
||||||
|
{%- endfor %}
|
||||||
- user: {{ salt_settings.rootuser }}
|
- user: {{ salt_settings.rootuser }}
|
||||||
{%- if grains.kernel != 'Windows' %}
|
{%- if grains.kernel != 'Windows' %}
|
||||||
- group: {{ salt_settings.rootgroup }}
|
- group: {{ salt_settings.rootgroup }}
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
{%- endfor %}
|
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
|
|
||||||
# Setup the formula Git repository
|
# Setup the formula Git repository
|
||||||
|
Loading…
Reference in New Issue
Block a user