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:
4e45280
)
string rather than symbol
author
Luca Filipozzi
<lfilipoz@emyr.net>
Wed, 16 May 2012 19:55:57 +0000
(19:55 +0000)
committer
Luca Filipozzi
<lfilipoz@emyr.net>
Wed, 16 May 2012 19:55:57 +0000
(19:55 +0000)
modules/motd/templates/motd.erb
patch
|
blob
|
history
diff --git
a/modules/motd/templates/motd.erb
b/modules/motd/templates/motd.erb
index
2b63708
..
829994b
100644
(file)
--- a/
modules/motd/templates/motd.erb
+++ b/
modules/motd/templates/motd.erb
@@
-103,7
+103,7
@@
end
if scope.lookupvar('::cluster')
purp += "\nThis server is a node in ganeti cluster: "
purp += scope.lookupvar('::cluster') + ".\n"
- Puppet::Parser::Functions.function(
:hiera_array)
+ Puppet::Parser::Functions.function(
'hiera_array')
scope.function_hiera_array('nodes').each do |node|
purp += "\t" + node + "\n"
end