Browse Source

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 years ago
parent
commit
9f6fc4f4b9
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      users/init.sls

+ 1
- 1
users/init.sls View File

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

Loading…
Cancel
Save