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:
2c5f10d
)
fix ruby error
author
Luca Filipozzi
<lfilipoz@emyr.net>
Thu, 17 May 2012 01:43:45 +0000
(
01:43
+0000)
committer
Luca Filipozzi
<lfilipoz@emyr.net>
Thu, 17 May 2012 01:43:45 +0000
(
01:43
+0000)
modules/motd/templates/motd.erb
patch
|
blob
|
history
diff --git
a/modules/motd/templates/motd.erb
b/modules/motd/templates/motd.erb
index
2ad9444
..
45e529a
100644
(file)
--- a/
modules/motd/templates/motd.erb
+++ b/
modules/motd/templates/motd.erb
@@
-107,7
+107,7
@@
if not scope.lookupvar('::cluster').empty?
nodes.each do |node|
purp += "\t" + node + "\n"
end
- nodes.reject{|node| node.eql?(fqdn)}.each do
+ nodes.reject{|node| node.eql?(fqdn)}.each do
|node|
purp += "\t" + node + "\n"
scope.lookupvar('site::allnodeinfo')[node]['ipHostNumber'].each do |ip|
purp += "\t\t" + ip + "\n"