Trying to fix config parser

This commit is contained in:
Eric Renfro 2018-05-17 23:51:22 -04:00
parent 2c1d45fdb5
commit 2ca43da3cd

View file

@ -1,4 +1,7 @@
{% set config = pillar.get('traefik.config', {}) -%} {%- from "traefik/map.jinja" import traefik with context -%}
{%- set config = salt['pillar.get']('traefik:config', {}) -%}
{% for section in config.iteritems() -%} {% for section in config.iteritems() -%}
[{{ section }}] [{{ section }}]
{% for key, val in section.iteritems() -%} {% for key, val in section.iteritems() -%}