From c8922bfdb52dab167f1b4e7bcfe43da2a2641c9f Mon Sep 17 00:00:00 2001 From: Arthur Lutz Date: Fri, 23 Mar 2018 13:42:11 +0100 Subject: [PATCH] [init] add makedirs to home directory creation --- users/init.sls | 1 + 1 file changed, 1 insertion(+) diff --git a/users/init.sls b/users/init.sls index 0206ba3..8600d61 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 }}