0
0
mirror of https://github.com/saltstack-formulas/openssh-formula.git synced 2024-11-27 23:07:53 +01:00

Sort Match options

This commit is contained in:
Alexander Weidinger 2017-07-04 22:30:49 +02:00
parent d37de77ba2
commit e44d8860f4

View File

@ -242,7 +242,7 @@ Match
{{- ' ' }}{{criteria }} {{ join_to_string(match['type'], criteria) -}}
{%- endfor %} #{{ name }}
{#- Set up the applied options -#}
{%- for keyword in match['options'].keys() %}
{%- for keyword in match['options'].keys()|sort() %}
{{ render_option(keyword, '', config_dict=match['options']) }}
{%- endfor %}
{%- endfor %}