]> git.donarmstrong.com Git - dsa-puppet.git/commitdiff
Now that ldapinfo is returning an array, we don't need nodeinfo to make
authorStephen Gran <steve@lobefin.net>
Sat, 14 Nov 2009 19:12:58 +0000 (19:12 +0000)
committerStephen Gran <steve@lobefin.net>
Sat, 14 Nov 2009 19:12:58 +0000 (19:12 +0000)
an extra array around it
Signed-off-by: Stephen Gran <steve@lobefin.net>
files/etc/puppet/lib/puppet/parser/functions/nodeinfo.rb

index 2e0521d191c6367069932a667dc2456656f639f8..e9b72fa9415401164b3e2e692d88b89adb50cffe 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