From e0e9e48821b8b9c034779e0c463b256b78f7cd0f Mon Sep 17 00:00:00 2001 From: Eric Renfro Date: Mon, 21 May 2018 23:30:44 -0400 Subject: [PATCH] Trying to fix init-env loop --- fabio/service.sls | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fabio/service.sls b/fabio/service.sls index b6a0134..8c6dd0e 100644 --- a/fabio/service.sls +++ b/fabio/service.sls @@ -16,7 +16,7 @@ fabio-init-env: - FABIO_GROUP={{ fabio.group }} - GOMAXPROCS=2 - PATH=/usr/local/bin:/usr/bin:/bin - {% for k, v in salt['pillar.get']('fabio:env', {}) %} + {% for k, v in salt['pillar.get']('fabio:env', {}).items() %} - {{ k }}={{ v }} {% endfor %}