0
0
mirror of https://github.com/saltstack-formulas/users-formula.git synced 2024-11-30 21:45:43 +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 -%} {% if 'password' in user -%}
- password: '{{ user['password'] }}' - password: '{{ user['password'] }}'
{% endif -%} {% endif -%}
{% if user.get('system', False) -%}
- system: True
{% endif -%}
{% if 'prime_group' in user and 'gid' in user['prime_group'] -%} {% if 'prime_group' in user and 'gid' in user['prime_group'] -%}
- gid: {{ user['prime_group']['gid'] }} - gid: {{ user['prime_group']['gid'] }}
{% else -%} {% else -%}
@ -252,4 +255,3 @@ googleauth-{{ svc }}-{{ name }}:
{{ group }}: {{ group }}:
group.absent group.absent
{% endfor %} {% endfor %}