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:
852ebca
)
import the function
author
Luca Filipozzi
<lfilipoz@emyr.net>
Wed, 16 May 2012 19:50:05 +0000
(19:50 +0000)
committer
Luca Filipozzi
<lfilipoz@emyr.net>
Wed, 16 May 2012 19:50:05 +0000
(19:50 +0000)
modules/motd/templates/motd.erb
patch
|
blob
|
history
diff --git
a/modules/motd/templates/motd.erb
b/modules/motd/templates/motd.erb
index
887a6bd
..
bb8c785
100644
(file)
--- a/
modules/motd/templates/motd.erb
+++ b/
modules/motd/templates/motd.erb
@@
-107,6
+107,7
@@
end
if scope.lookupvar('site::nodeinfo').has_key?('footer')
+ Puppet::Parser::Functions.function('hiera_array')
purp += "\n" + wrap(scope.lookupvar('site::nodeinfo')['footer']) + "\n"
scope.function_hiera_array('nodes').each do |node|
purp += "\t" + node + "\n"