Fix default behavior of copying /etc/skel when creating home directorytags/v0.45.0
{% 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 |