Pārlūkot izejas kodu

Merge pull request #78 from colekowalski/ssh-auth-file

the user's .ssh directory should be created if ssh_auth_file is supplied
tags/v0.45.0
puneet kandhari pirms 9 gadiem
vecāks
revīzija
a7d348fb1f
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. +1
    -1
      users/init.sls

+ 1
- 1
users/init.sls Parādīt failu

@@ -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

Notiek ielāde…
Atcelt
Saglabāt