Trying to fix config parser

This commit is contained in:
Eric Renfro 2018-05-17 23:36:22 -04:00
parent 6ef19635d1
commit 5c7a9c5c09

View file

@ -1,4 +1,5 @@
{% for section in salt['pillar.get']('traefik:config') -%} {% set config = pillar.get('traefik.config', {}) -%}
{% for section in config.items() -%}
[{{ section }}] [{{ section }}]
{% for key, val in section.iteritems() -%} {% for key, val in section.iteritems() -%}
{{ key }} = {{ val }} {{ key }} = {{ val }}