mirror of
https://github.com/saltstack-formulas/openssh-formula.git
synced 2026-05-07 06:23:21 +02:00
Fixed whitespace handling when rendering unknown options
This commit is contained in:
parent
eae8ca0e33
commit
5d90a9cc26
@ -209,10 +209,10 @@
|
|||||||
|
|
||||||
{# Handling unknown in salt template options #}
|
{# Handling unknown in salt template options #}
|
||||||
{%- for keyword in sshd_config.keys() %}
|
{%- for keyword in sshd_config.keys() %}
|
||||||
{#- Matches have to be at the bottom and should be handled differently -#}
|
{#- Matches have to be at the bottom and should be handled differently -#}
|
||||||
{%- if not keyword in processed_options and keyword != 'matches' -%}
|
{%- if not keyword in processed_options and keyword != 'matches' -%}
|
||||||
{{ render_option(keyword) }}
|
{{ render_option(keyword) }}
|
||||||
{%- endif -%}
|
{% endif -%}
|
||||||
{%- endfor %}
|
{%- endfor %}
|
||||||
|
|
||||||
{# Handle matches last as they need to go at the bottom #}
|
{# Handle matches last as they need to go at the bottom #}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user