diff --git a/users/init.sls b/users/init.sls index aa9adf4..630b9db 100644 --- a/users/init.sls +++ b/users/init.sls @@ -63,6 +63,7 @@ users_{{ name }}_user: - user: {{ user.get('homedir_owner', name) }} - group: {{ user.get('homedir_group', user_group) }} - mode: {{ user.get('user_dir_mode', '0750') }} + - makedirs: True - require: - user: users_{{ name }}_user - group: {{ user_group }}