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:58:14 -04:00
|
|
|
{% for section in config.values() -%}
|
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 -%}
|