0
0
mirror of https://github.com/saltstack-formulas/openssh-formula.git synced 2024-11-28 05:38:20 +01:00

Merge pull request #76 from freach/master

openssh.auth will produce invalid SLS definition if sshd_config configs are missing
This commit is contained in:
Forrest 2016-11-02 09:06:07 -07:00 committed by GitHub
commit 086937b84f

View File

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