0
0
mirror of https://github.com/saltstack-formulas/users-formula.git synced 2024-11-28 02:57:55 +01:00

Merge pull request #119 from rhertzog/system-group

Create a system usergroup if user is a system user
This commit is contained in:
Wolodja Wentland 2016-06-22 14:13:17 +02:00 committed by GitHub
commit ebc81c806b

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 }}