From 55d9e99bbd33ba96b2181c172175d74223260e86 Mon Sep 17 00:00:00 2001 From: Hugo Chinchilla Carbonell Date: Wed, 6 Sep 2017 15:48:11 +0200 Subject: [PATCH] add context to script templates --- consul/config.sls | 1 + 1 file changed, 1 insertion(+) diff --git a/consul/config.sls b/consul/config.sls index 1d079b5..4ba6f5b 100644 --- a/consul/config.sls +++ b/consul/config.sls @@ -20,6 +20,7 @@ consul-script-install-{{ loop.index }}: - source: {{ script.source }} - name: {{ script.name }} - template: jinja + - context: {{ template.get('context', {}) | yaml }} - user: consul - group: consul - mode: 0755