mirror of
https://github.com/saltstack-formulas/salt-formula.git
synced 2024-11-27 22:38:10 +01:00
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