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