aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorÉric Lemoine <elemoine@mirantis.com>2016-02-23 09:39:44 +0100
committerÉric Lemoine <elemoine@mirantis.com>2016-02-23 09:39:44 +0100
commitd87786e41e858f358c2265b2c924e4d1b947fed1 (patch)
treef90fffbb4b889e5f74d7841f44fad6ade29b211e
parent33fd50e603d48de4f1f2fc25ba649561efc25cac (diff)
downloadkolla-d87786e41e858f358c2265b2c924e4d1b947fed1.tar.gz
kolla-d87786e41e858f358c2265b2c924e4d1b947fed1.zip
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. [*] <https://review.openstack.org/#/c/283118/3/ansible/roles/common/templates/heka.json.j2@49> TrivialFix Change-Id: I20ee5084cfef6acf53a737757fe727df5b4e9fce
-rw-r--r--ansible/roles/common/templates/heka.json.j25
1 files changed, 2 insertions, 3 deletions
diff --git a/ansible/roles/common/templates/heka.json.j2 b/ansible/roles/common/templates/heka.json.j2
index 34471008d..f5bcad297 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 %}
]
}