0
0
mirror of https://github.com/saltstack-formulas/users-formula.git synced 2025-02-02 10:49:36 +01:00

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.present:
- name: {{ name }}
{% if 'uid' in user -%}
- gid: {{ user['uid'] }}
{% endif %}
user.present:
- name: {{ name }}
- home: {{ home }}