make sure to match options as the options dict!

This commit is contained in:
Robert Fairburn 2014-09-19 11:26:10 -05:00
parent 1a2de43ed7
commit b24101264f

View File

@ -150,7 +150,7 @@
{%- for match in sshd_config['matches'].values() %} {%- for match in sshd_config['matches'].values() %}
Match {{ match['type'].keys()[0] }} {{ match['type'].values()[0] }} Match {{ match['type'].keys()[0] }} {{ match['type'].values()[0] }}
{%- for keyword in match['options'].keys() %} {%- for keyword in match['options'].keys() %}
{{ render_option(keyword, '', config_dict=match['type']) }} {{ render_option(keyword, '', config_dict=match['options']) }}
{%- endfor %} {%- endfor %}
{%- endfor %} {%- endfor %}
{%- endif %} {%- endif %}