aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGael Chamoulaud <gchamoul@redhat.com>2017-03-21 16:08:59 +0100
committerGael Chamoulaud <gchamoul@redhat.com>2017-03-22 09:57:45 +0100
commitc4c94361e82aeee45dbd58bfaabb04e245a75f63 (patch)
treeb9864e154b1118f8296b72c9ccf98c39c8e229e5
parente0bd63c826e687d9019b76297e9375f3b0608c2e (diff)
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 <gchamoul@redhat.com>
-rw-r--r--overcloud.j2.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/overcloud.j2.yaml b/overcloud.j2.yaml
index e99f770..e1df551 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 %}