Trying to fix config parser

This commit is contained in:
Eric Renfro 2018-05-17 23:36:22 -04:00
parent 6ef19635d1
commit 5c7a9c5c09
1 changed files with 2 additions and 1 deletions

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 }}]
{% for key, val in section.iteritems() -%}
{{ key }} = {{ val }}