formula-traefik/traefik/files/traefik.toml

10 lines
272 B
TOML

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