0
0
mirror of https://github.com/saltstack-formulas/openssh-formula.git synced 2026-02-21 06:04:04 +01:00

Fixed whitespace handling when rendering unknown options

This commit is contained in:
Alexander Weidinger 2017-10-12 04:59:21 +02:00
parent eae8ca0e33
commit 5d90a9cc26

View File

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