Browse Source

not more need for homedir, if not needed

master
Arthur 7 years ago
parent
commit
e486032283
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      users/init.sls

+ 2
- 0
users/init.sls 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'] }}

Loading…
Cancel
Save