Fixed typo

This commit is contained in:
Bahadır Kandemir 2015-10-10 01:03:23 +03:00
parent 5a3c58a0c6
commit 54f5ce0389

View file

@ -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] }}