From 7dda5571db583f9551396702bf5afc763c00869e Mon Sep 17 00:00:00 2001 From: Cole Kowalski Date: Thu, 16 Jul 2015 15:23:43 -0400 Subject: [PATCH] the user's .ssh directory should be created if ssh_auth_file is supplied --- users/init.sls | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/users/init.sls b/users/init.sls index ff1b909..16e058c 100644 --- a/users/init.sls +++ b/users/init.sls @@ -102,7 +102,7 @@ users_{{ name }}_user: {% endfor %} - {% if 'ssh_keys' in user or 'ssh_auth' in user or 'ssh_auth.absent' in user %} + {% if 'ssh_keys' in user or 'ssh_auth' in user or 'ssh_auth_file' in user or 'ssh_auth.absent' in user %} user_keydir_{{ name }}: file.directory: - name: {{ user.get('home', '/home/{0}'.format(name)) }}/.ssh