Code Review
/
apex-tripleo-heat-templates.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
e0bd63c
)
Remove useless trailing '\n' in /etc/hosts file.
author
Gael Chamoulaud
<gchamoul@redhat.com>
Tue, 21 Mar 2017 15:08:59 +0000
(16:08 +0100)
committer
Gael Chamoulaud
<gchamoul@redhat.com>
Wed, 22 Mar 2017 08:57:45 +0000
(09:57 +0100)
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>
overcloud.j2.yaml
patch
|
blob
|
history
diff --git
a/overcloud.j2.yaml
b/overcloud.j2.yaml
index
e99f770
..
e1df551
100644
(file)
--- 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 %}