From 81e499fbe2819f1d6b202b8d48ee0f79f87990e4 Mon Sep 17 00:00:00 2001 From: Nicolas Bock Date: Thu, 4 Oct 2018 11:06:03 -0600 Subject: [PATCH] Fix whitespace in neutron.conf template The Jinja2 templating code can introduce whitespace which ends up in front of the `# General, applies...` comment. This leads to a parsing error when Neutron is started and the Neutron installation playbook fails. Note that this change leaves _more_ whitespace in the beginning of neutron.conf, but preserves the newline in front of the comment. Change-Id: Ib9a9e44f25dcabb92df6067852e91115d30fe740 --- templates/neutron.conf.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/neutron.conf.j2 b/templates/neutron.conf.j2 index 70734a70..c092ccba 100644 --- a/templates/neutron.conf.j2 +++ b/templates/neutron.conf.j2 @@ -13,7 +13,7 @@ {% else %} {% set _ = neutron_plugin_loaded_base.append("lbaasv2") %} {% endif %} -{%- endif -%} +{% endif %} # General, applies to all host groups [DEFAULT]