Merge pull request #8 from ChronoPositron/group-id-undefined-var

Fix Undefined jinja variable error with Salt 0.17.1
This commit is contained in:
Seth House 2013-11-14 09:09:52 -08:00
commit 260388cd20

View File

@ -25,7 +25,9 @@ include:
- 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 }}