Sometimes this ruby puppet thing is weird
[mirror/dsa-puppet.git] / files / etc / puppet / lib / puppet / parser / functions / allnodeinfo.rb
index 0b072de..47450d5 100644 (file)
@@ -1,5 +1,6 @@
 module Puppet::Parser::Functions
   newfunction(:allnodeinfo, :type => :rvalue) do |attributes|
-    return Puppet::Parser::Functions::ldapinfo('*', attributes)
+    attributes.unshift('*')
+    return (function_ldapinfo(attributes))
   end
 end