Browse Source

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

Fix Undefined jinja variable error with Salt 0.17.1
lookup-fix-3
Seth House 11 years ago
parent
commit
260388cd20
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      users/init.sls

+ 2
- 0
users/init.sls 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 }}

Loading…
Cancel
Save