From 54f5ce0389437f9cc0059e3a5808e75cd7cf2641 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bahad=C4=B1r=20Kandemir?= Date: Sat, 10 Oct 2015 01:03:23 +0300 Subject: [PATCH] Fixed typo --- consul/init.sls | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/consul/init.sls b/consul/init.sls index 4728087..e9ab7b4 100644 --- a/consul/init.sls +++ b/consul/init.sls @@ -95,7 +95,7 @@ consul_config: {% set outer_loop = loop %} {% for check in service.checks %} {% if check.script %} -consul_service_register_{{ outer_loopindex }}_{{ loop.index }}: +consul_service_register_{{ outer_loop.index }}_{{ loop.index }}: file.managed: - source: {{ check.script }} - name: /opt/consul/scripts/{{ check.script.split('/')[-1] }}