Fix Undefined jinja variable error with Salt 0.17.1tags/v0.45.0
- group: {{ name }} | - group: {{ name }} | ||||
group.present: | group.present: | ||||
- name: {{ name }} | - name: {{ name }} | ||||
{% if 'uid' in user -%} | |||||
- gid: {{ user['uid'] }} | - gid: {{ user['uid'] }} | ||||
{% endif %} | |||||
user.present: | user.present: | ||||
- name: {{ name }} | - name: {{ name }} | ||||
- home: {{ home }} | - home: {{ home }} |