From 5d90a9cc266667d7ffd16db260732dbabe8cdbce Mon Sep 17 00:00:00 2001 From: Alexander Weidinger Date: Thu, 12 Oct 2017 04:59:21 +0200 Subject: [PATCH] Fixed whitespace handling when rendering unknown options --- openssh/files/sshd_config | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/openssh/files/sshd_config b/openssh/files/sshd_config index afdc455..d93208e 100644 --- a/openssh/files/sshd_config +++ b/openssh/files/sshd_config @@ -209,10 +209,10 @@ {# Handling unknown in salt template options #} {%- for keyword in sshd_config.keys() %} - {#- Matches have to be at the bottom and should be handled differently -#} - {%- if not keyword in processed_options and keyword != 'matches' -%} +{#- Matches have to be at the bottom and should be handled differently -#} +{%- if not keyword in processed_options and keyword != 'matches' -%} {{ render_option(keyword) }} - {%- endif -%} +{% endif -%} {%- endfor %} {# Handle matches last as they need to go at the bottom #}