From: Stephen Gran Date: Sat, 14 Nov 2009 18:50:08 +0000 (+0000) Subject: And fixup the allnodeinfo usage X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=1903a9228b1e0f976ec29df3ffefe9b9c26ba653;p=mirror%2Fdsa-puppet.git And fixup the allnodeinfo usage Signed-off-by: Stephen Gran --- 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