0
0
mirror of https://github.com/saltstack-formulas/users-formula.git synced 2024-11-27 22:38:34 +01:00

Add ability to create system users.

This commit is contained in:
René Jochum 2015-03-12 23:27:31 +01:00
parent 1e3f6c9865
commit c1b383d78b

View File

@ -72,6 +72,9 @@ include:
{% if 'password' in user -%}
- password: '{{ user['password'] }}'
{% endif -%}
{% if user.get('system', False) -%}
- system: True
{% endif -%}
{% if 'prime_group' in user and 'gid' in user['prime_group'] -%}
- gid: {{ user['prime_group']['gid'] }}
{% else -%}
@ -252,4 +255,3 @@ googleauth-{{ svc }}-{{ name }}:
{{ group }}:
group.absent
{% endfor %}