From 7adb8b28761a8601716fd2f4503caf3af11d7073 Mon Sep 17 00:00:00 2001 From: Paulo Matias Date: Sat, 10 Sep 2016 23:09:44 -0300 Subject: [PATCH] Fix missing newline in ceilometermiddleware config Regression introduced by Ic2129bd6be85f6a51feea95d47cfbb349c44f363. Ansible setups Jinja2 in such a way that a newline after an ``{% endfor %}`` is stripped. Therefore, we insert an additional newline. Change-Id: I6c72c82bea0c9b93b7ef18ce89ccd7c18066b802 --- templates/proxy-server.conf.j2 | 1 + 1 file changed, 1 insertion(+) diff --git a/templates/proxy-server.conf.j2 b/templates/proxy-server.conf.j2 index 747581dc..8c0aec91 100644 --- a/templates/proxy-server.conf.j2 +++ b/templates/proxy-server.conf.j2 @@ -188,6 +188,7 @@ paste.filter_factory = ceilometermiddleware.swift:filter_factory control_exchange = swift driver = messagingv2 url = rabbit://{% for host in swift_rabbitmq_telemetry_servers.split(',') %}{{ swift_rabbitmq_telemetry_userid }}:{{ swift_rabbitmq_telemetry_password }}@{{ host }}:{{ swift_rabbitmq_telemetry_port }}{% if not loop.last %},{% else %}/{{ swift_rabbitmq_telemetry_vhost }}{% endif %}{% endfor %} + topic = notifications log_level = WARN {% endif %}