2018-05-17 23:51:22 -04:00
|
|
|
{%- from "traefik/map.jinja" import traefik with context -%}
|
|
|
|
|
|
|
|
{%- set config = salt['pillar.get']('traefik:config', {}) -%}
|
|
|
|
|
2018-05-17 23:40:37 -04:00
|
|
|
{% for section in config.iteritems() -%}
|
2018-05-17 23:18:00 -04:00
|
|
|
[{{ section }}]
|
2018-05-17 22:52:46 -04:00
|
|
|
{% for key, val in section.iteritems() -%}
|
|
|
|
{{ key }} = {{ val }}
|
|
|
|
{% endfor -%}
|
|
|
|
{% endfor -%}
|