From 1903a9228b1e0f976ec29df3ffefe9b9c26ba653 Mon Sep 17 00:00:00 2001 From: Stephen Gran Date: Sat, 14 Nov 2009 18:50:08 +0000 Subject: [PATCH] And fixup the allnodeinfo usage Signed-off-by: Stephen Gran --- files/etc/puppet/lib/puppet/parser/functions/allnodeinfo.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/files/etc/puppet/lib/puppet/parser/functions/allnodeinfo.rb b/files/etc/puppet/lib/puppet/parser/functions/allnodeinfo.rb index b38da346f..6120c1f83 100644 --- a/files/etc/puppet/lib/puppet/parser/functions/allnodeinfo.rb +++ b/files/etc/puppet/lib/puppet/parser/functions/allnodeinfo.rb @@ -1,6 +1,7 @@ module Puppet::Parser::Functions newfunction(:allnodeinfo, :type => :rvalue) do |attributes| require '/etc/puppet/lib/puppet/parser/functions/ldapinfo.rb' - return (function_ldapinfo('*', attributes)) + attributes.unshift('*') + return (function_ldapinfo(attributes)) end end -- 2.20.1