Pārlūkot izejas kodu

Merge pull request #76 from freach/master

openssh.auth will produce invalid SLS definition if sshd_config configs are missing
tags/v0.41.0
Forrest pirms 8 gadiem
vecāks
revīzija
086937b84f
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. +2
    -2
      openssh/auth.sls

+ 2
- 2
openssh/auth.sls Parādīt failu

@@ -40,7 +40,7 @@ include:
{{ print_ssh_auth(identifier, key) }}
{%- if 'sshd_config' in pillar and 'AuthorizedKeysFile' in pillar['sshd_config'] %}
- config: '{{ pillar['sshd_config']['AuthorizedKeysFile'] }}'
{% endif -%}
{% endif %}
- require:
- service: {{ openssh.service }}
{%- else %}
@@ -52,4 +52,4 @@ include:
{% endif -%}
{%- endif -%}
{%- endfor -%}
{%- endfor -%}
{%- endfor -%}

Notiek ielāde…
Atcelt
Saglabāt