X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=modules%2Fpuppetmaster%2Flib%2Fpuppet%2Fparser%2Ffunctions%2Fallnodeinfo.rb;h=012d58eac6700a222aac4b650ed025c35968cd6c;hb=90461a264b17c567a0d673317d424897bea75571;hp=06b074d8ddd741507817b2764429ffa2c659ede2;hpb=602dba70eda47b7eca3e617da57da90333eba863;p=dsa-puppet.git diff --git a/modules/puppetmaster/lib/puppet/parser/functions/allnodeinfo.rb b/modules/puppetmaster/lib/puppet/parser/functions/allnodeinfo.rb index 06b074d8..012d58ea 100644 --- a/modules/puppetmaster/lib/puppet/parser/functions/allnodeinfo.rb +++ b/modules/puppetmaster/lib/puppet/parser/functions/allnodeinfo.rb @@ -4,7 +4,7 @@ module Puppet::Parser::Functions required = args.shift.split() optional = args.shift.split() - allhosts = function_ldapinfo('*', required+optional ) + allhosts = function_ldapinfo(['*', *(required+optional) ]) res = {} allhosts.each_pair do |hostname, host| # If a returned value doesn't have all the attributes we're searching for, skip