From: Luca Filipozzi Date: Wed, 16 May 2012 19:50:05 +0000 (+0000) Subject: import the function X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=c7faac1a292cbf1ba1ca086c1ffe6f1187fe72c0;p=mirror%2Fdsa-puppet.git import the function --- diff --git a/modules/motd/templates/motd.erb b/modules/motd/templates/motd.erb index 887a6bd28..bb8c785e5 100644 --- 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"