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:
de0f4f0
)
try hiera
author
Luca Filipozzi
<lfilipoz@emyr.net>
Wed, 16 May 2012 19:44:18 +0000
(19:44 +0000)
committer
Luca Filipozzi
<lfilipoz@emyr.net>
Wed, 16 May 2012 19:44:18 +0000
(19:44 +0000)
modules/motd/templates/motd.erb
patch
|
blob
|
history
diff --git
a/modules/motd/templates/motd.erb
b/modules/motd/templates/motd.erb
index
18c50e2
..
3fdf393
100644
(file)
--- a/
modules/motd/templates/motd.erb
+++ b/
modules/motd/templates/motd.erb
@@
-101,13
+101,16
@@
end
if scope.lookupvar('::cluster')
- purp += "\nThis machine is
ember of
ganeti cluster: "
+ purp += "\nThis machine is
a node in
ganeti cluster: "
purp += scope.lookupvar('::cluster') + ".\n"
end
if scope.lookupvar('site::nodeinfo').has_key?('footer')
purp += "\n" + wrap(scope.lookupvar('site::nodeinfo')['footer']) + "\n"
+ scope.hiera_array('nodes').each do |node|
+ purp += "\t" + node + "\n"
+ end
end
purp