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:
9137a7d
)
use site::nodeinfo
author
Luca Filipozzi
<lfilipoz@emyr.net>
Wed, 16 May 2012 18:42:48 +0000
(18:42 +0000)
committer
Luca Filipozzi
<lfilipoz@emyr.net>
Wed, 16 May 2012 18:42:48 +0000
(18:42 +0000)
modules/motd/templates/motd.erb
patch
|
blob
|
history
diff --git
a/modules/motd/templates/motd.erb
b/modules/motd/templates/motd.erb
index
ad8142d
..
f13ee1a
100644
(file)
--- a/
modules/motd/templates/motd.erb
+++ b/
modules/motd/templates/motd.erb
@@
-100,7
+100,7
@@
unless vms.empty?
end
-if
cluster
+if
scope.lookupvar('site::nodeinfo').has_key?('cluster')
purp += "\nMember of a ganeti cluster.\n"
end