Browse Source

Merge pull request #119 from rhertzog/system-group

Create a system usergroup if user is a system user
lookup-fix-3
Wolodja Wentland 8 years ago
parent
commit
ebc81c806b
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      users/init.sls

+ 3
- 0
users/init.sls View File

@@ -73,6 +73,9 @@ users_{{ name }}_user:
{%- elif 'uid' in user %}
- gid: {{ user['uid'] }}
{%- endif %}
{% if 'system' in user and user['system'] %}
- system: True
{% endif %}
user.present:
- name: {{ name }}
- home: {{ home }}

Loading…
Cancel
Save