[init] add makedirs to home directory creation See merge request saltstack/formulas/users-formula!1tags/v0.45.0
- 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 }} |