mirror of
https://github.com/saltstack-formulas/openssh-formula.git
synced 2026-09-23 00:58:30 +02:00
Fixed whitespace handling when rendering unknown options
This commit is contained in:
@@ -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 #}
|
||||||
|
|||||||
Reference in New Issue
Block a user