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
This commit is contained in:
Paulo Matias 2016-09-10 23:09:44 -03:00
parent 1690a5d512
commit 7adb8b2876

View File

@ -188,6 +188,7 @@ paste.filter_factory = ceilometermiddleware.swift:filter_factory
control_exchange = swift control_exchange = swift
driver = messagingv2 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 %} 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 topic = notifications
log_level = WARN log_level = WARN
{% endif %} {% endif %}