From: Stephen Gran Date: Sat, 14 Nov 2009 19:12:58 +0000 (+0000) Subject: Now that ldapinfo is returning an array, we don't need nodeinfo to make X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=6f44349a09fe8330b1c3304a9a96e865ed3022de;p=dsa-puppet.git Now that ldapinfo is returning an array, we don't need nodeinfo to make an extra array around it Signed-off-by: Stephen Gran --- diff --git a/files/etc/puppet/lib/puppet/parser/functions/nodeinfo.rb b/files/etc/puppet/lib/puppet/parser/functions/nodeinfo.rb index 2e0521d1..e9b72fa9 100644 --- a/files/etc/puppet/lib/puppet/parser/functions/nodeinfo.rb +++ b/files/etc/puppet/lib/puppet/parser/functions/nodeinfo.rb @@ -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