From d87786e41e858f358c2265b2c924e4d1b947fed1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Lemoine?= Date: Tue, 23 Feb 2016 09:39:44 +0100 Subject: [PATCH] Change Jinja2 expressions in heka.json.j2 This follows up on a review comment from sdake [*] and change the Jinja2 expressions used in heka.json.j2. [*] TrivialFix Change-Id: I20ee5084cfef6acf53a737757fe727df5b4e9fce --- ansible/roles/common/templates/heka.json.j2 | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/ansible/roles/common/templates/heka.json.j2 b/ansible/roles/common/templates/heka.json.j2 index 34471008d5..f5bcad2979 100644 --- a/ansible/roles/common/templates/heka.json.j2 +++ b/ansible/roles/common/templates/heka.json.j2 @@ -44,9 +44,8 @@ "dest": "/etc/heka/heka-{{ swift_service }}.toml", "owner": "heka", "perm": "0600" - } -{%- if not loop.last %},{% endif %} -{% endfor -%} + }{% if not loop.last %},{% endif %} +{% endfor %} ] }