Browse Source

Add ability to create system users.

tags/v0.45.0
René Jochum 9 years ago
parent
commit
c1b383d78b
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      users/init.sls

+ 3
- 1
users/init.sls 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 %}


Loading…
Cancel
Save