Trying to fix config parser
This commit is contained in:
parent
2c1d45fdb5
commit
2ca43da3cd
1 changed files with 4 additions and 1 deletions
|
@ -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() -%}
|
||||||
|
|
Loading…
Reference in a new issue