From 228e425ba12bc870f8cb195c77b0d8e790187093 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Wed, 2 Mar 2011 13:02:50 +0100 Subject: [PATCH] I wonder if this is the right ruby syntax --- modules/puppetmaster/lib/puppet/parser/functions/allnodeinfo.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/puppetmaster/lib/puppet/parser/functions/allnodeinfo.rb b/modules/puppetmaster/lib/puppet/parser/functions/allnodeinfo.rb index 06b074d8d..11baf101b 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 -- 2.20.1