瀏覽代碼

Merge pull request #183 from philpep/fix-copying-etc-skel

Fix default behavior of copying /etc/skel when creating home directory
tags/v0.45.0
Niels Abspoel 6 年之前
父節點
當前提交
9f6fc4f4b9
No account linked to committer's email address
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      users/init.sls

+ 1
- 1
users/init.sls 查看文件

@@ -64,7 +64,7 @@ users_{{ name }}_{{ group }}_group:
{% if user.get('createhome', True) %}
users_{{ name }}_user_prereq:
file.directory:
- name: {{ home }}
- name: {{ salt['file.dirname'](home) }}
- makedirs: True
- prereq:
- user: users_{{ name }}_user

Loading…
取消
儲存