Bladeren bron
Merge pull request #183 from philpep/fix-copying-etc-skel
Fix default behavior of copying /etc/skel when creating home directory
master
Niels Abspoel
6 jaren geleden
bovenliggende
commit
9f6fc4f4b9
No account linked to committer's email address
1 gewijzigde bestanden met
toevoegingen van 1 en
1 verwijderingen
-
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 |