projects
/
mirror
/
dsa-puppet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a543ef8
)
more?
author
Stephen Gran
<steve@lobefin.net>
Sun, 24 Jun 2012 09:07:46 +0000
(10:07 +0100)
committer
Stephen Gran
<steve@lobefin.net>
Sun, 24 Jun 2012 09:07:46 +0000
(10:07 +0100)
Signed-off-by: Stephen Gran <steve@lobefin.net>
modules/motd/templates/motd.erb
patch
|
blob
|
history
diff --git
a/modules/motd/templates/motd.erb
b/modules/motd/templates/motd.erb
index
57b05e4
..
8f353df
100644
(file)
--- a/
modules/motd/templates/motd.erb
+++ b/
modules/motd/templates/motd.erb
@@
-102,8
+102,8
@@
end
if not scope.lookupvar('::cluster').to_s.empty?
purp += "\nThis server is a node in ganeti cluster: "
- purp += scope.lookupvar('::cluster') + ".\n"
- nodes = scope.lookupvar('::cluster_nodes').split.sort
+ purp += scope.lookupvar('::cluster')
.to_s
+ ".\n"
+ nodes = scope.lookupvar('::cluster_nodes').
to_s.
split.sort
nodes.each do |node|
purp += "\t" + node + "\n"
end