From c4c94361e82aeee45dbd58bfaabb04e245a75f63 Mon Sep 17 00:00:00 2001 From: Gael Chamoulaud Date: Tue, 21 Mar 2017 16:08:59 +0100 Subject: Remove useless trailing '\n' in /etc/hosts file. In HA deployment mode, we've got some trailing '\n' generated at the beginning of each controller role nodes line in the undercloud /etc/hosts [1]. [1] - http://paste.openstack.org/show/603721/ Closes-Bug: #1674697 Change-Id: Ic38bc2a5df79dadf72025f207e91a38cc0ab0a92 Signed-off-by: Gael Chamoulaud --- overcloud.j2.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/overcloud.j2.yaml b/overcloud.j2.yaml index e99f770f..e1df551a 100644 --- a/overcloud.j2.yaml +++ b/overcloud.j2.yaml @@ -398,7 +398,7 @@ resources: - {% for role in roles %} - list_join: - - "\n" + - "" - {get_attr: [{{role.name}}, hosts_entry]} {% endfor %} -- cgit 1.2.3-korg