diff --git a/openssh/auth.sls b/openssh/auth.sls index 7fb6b4b..184455f 100644 --- a/openssh/auth.sls +++ b/openssh/auth.sls @@ -39,7 +39,7 @@ include: ssh_auth.present: {{ print_ssh_auth(identifier, key) }} {%- if 'sshd_config' in pillar and 'AuthorizedKeysFile' in pillar['sshd_config'] %} - - config: {{ pillar['sshd_config']['AuthorizedKeysFile'] }} + - config: '{{ pillar['sshd_config']['AuthorizedKeysFile'] }}' {% endif -%} - require: - service: {{ openssh.service }} @@ -48,7 +48,7 @@ include: ssh_auth.absent: {{ print_ssh_auth(identifier, key) }} {%- if 'sshd_config' in pillar and 'AuthorizedKeysFile' in pillar['sshd_config'] %} - - config: {{ pillar['sshd_config']['AuthorizedKeysFile'] }} + - config: '{{ pillar['sshd_config']['AuthorizedKeysFile'] }}' {% endif -%} {%- endif -%} {%- endfor -%}