0
0
mirror of https://github.com/saltstack-formulas/users-formula.git synced 2024-11-27 22:38:34 +01:00

Merge pull request #174 from arthurlogilab/173-makdirs

[init] add makedirs to home directory creation
This commit is contained in:
N 2018-03-23 14:16:48 +00:00 committed by GitHub
commit 877bdb0d80
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -63,6 +63,7 @@ users_{{ name }}_user:
- user: {{ user.get('homedir_owner', name) }} - user: {{ user.get('homedir_owner', name) }}
- group: {{ user.get('homedir_group', user_group) }} - group: {{ user.get('homedir_group', user_group) }}
- mode: {{ user.get('user_dir_mode', '0750') }} - mode: {{ user.get('user_dir_mode', '0750') }}
- makedirs: True
- require: - require:
- user: users_{{ name }}_user - user: users_{{ name }}_user
- group: {{ user_group }} - group: {{ user_group }}