Some more fixes. Sigh, some day I'll learn ruby
[mirror/dsa-puppet.git] / files / etc / puppet / lib / puppet / parser / functions / allnodeinfo.rb
index eb00a67..6120c1f 100644 (file)
@@ -1,5 +1,7 @@
 module Puppet::Parser::Functions
   newfunction(:allnodeinfo, :type => :rvalue) do |attributes|
-    return ldapinfo('*', attributes)
+    require '/etc/puppet/lib/puppet/parser/functions/ldapinfo.rb'
+    attributes.unshift('*')
+    return (function_ldapinfo(attributes))
   end
 end