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:
commit
260388cd20
@ -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 }}
|
||||
|
Loading…
Reference in New Issue
Block a user