Now that ldapinfo is returning an array, we don't need nodeinfo to make
[mirror/dsa-puppet.git] / files / etc / puppet / lib / puppet / parser / functions / nodeinfo.rb
index 2e0521d..e9b72fa 100644 (file)
@@ -44,8 +44,7 @@ module Puppet::Parser::Functions
       end
     end
 
-    results['ldap'] = []
-    results['ldap'] << function_ldapinfo(host, '*')
+    results['ldap'] = function_ldapinfo(host, '*')
     return(results)
   end
 end