Trying to fix config parser

This commit is contained in:
Eric Renfro 2018-05-17 23:58:14 -04:00
parent a3697f2f1a
commit 3d0225712a

View file

@ -2,7 +2,7 @@
{%- set config = salt['pillar.get']('traefik:config', {}) -%} {%- set config = salt['pillar.get']('traefik:config', {}) -%}
{% for section in config.iteritems() -%} {% for section in config.values() -%}
[{{ section }}] [{{ section }}]
{% for key, val in section.iteritems() -%} {% for key, val in section.iteritems() -%}
{{ key }} = {{ val }} {{ key }} = {{ val }}