Browse Source

fix(jinja): stop repeating user/group args

tags/v1.5.2
noelmcloughlin 4 years ago
parent
commit
e313401cd6
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      salt/formulas.sls

+ 1
- 1
salt/formulas.sls View File

{%- 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…
Cancel
Save