Browse Source

the user's .ssh directory should be created if ssh_auth_file is supplied

tags/v0.45.0
Cole Kowalski 9 years ago
parent
commit
7dda5571db
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      users/init.sls

+ 1
- 1
users/init.sls View File

{% endfor %} {% 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 }}: user_keydir_{{ name }}:
file.directory: file.directory:
- name: {{ user.get('home', '/home/{0}'.format(name)) }}/.ssh - name: {{ user.get('home', '/home/{0}'.format(name)) }}/.ssh

Loading…
Cancel
Save