瀏覽代碼

not more need for homedir, if not needed

tags/v0.45.0
Arthur 7 年之前
父節點
當前提交
e486032283
共有 1 個檔案被更改,包括 2 行新增0 行删除
  1. +2
    -0
      users/init.sls

+ 2
- 0
users/init.sls 查看文件

@@ -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…
取消
儲存