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