From 5c7a9c5c09f810f77f75c35db5f7647063a55d17 Mon Sep 17 00:00:00 2001 From: Eric Renfro Date: Thu, 17 May 2018 23:36:22 -0400 Subject: [PATCH] Trying to fix config parser --- traefik/files/traefik.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/traefik/files/traefik.toml b/traefik/files/traefik.toml index 46d3913..bf42cc0 100644 --- a/traefik/files/traefik.toml +++ b/traefik/files/traefik.toml @@ -1,4 +1,5 @@ -{% for section in salt['pillar.get']('traefik:config') -%} +{% set config = pillar.get('traefik.config', {}) -%} +{% for section in config.items() -%} [{{ section }}] {% for key, val in section.iteritems() -%} {{ key }} = {{ val }}