0
0
mirror of https://github.com/saltstack-formulas/users-formula.git synced 2025-03-10 13:59:01 +01:00

not more need for homedir, if not needed

This commit is contained in:
Arthur 2017-04-25 19:29:00 +02:00
parent 694fd0de6d
commit e486032283

View File

@ -89,7 +89,9 @@ users_{{ name }}_user:
{% endif %}
user.present:
- name: {{ name }}
{% if user.get('createhome', True) -%}
- home: {{ home }}
{% endif -%}
- shell: {{ user.get('shell', current.get('shell', users.get('shell', '/bin/bash'))) }}
{% if 'uid' in user -%}
- uid: {{ user['uid'] }}