From 6f44349a09fe8330b1c3304a9a96e865ed3022de Mon Sep 17 00:00:00 2001 From: Stephen Gran Date: Sat, 14 Nov 2009 19:12:58 +0000 Subject: [PATCH] Now that ldapinfo is returning an array, we don't need nodeinfo to make an extra array around it Signed-off-by: Stephen Gran --- files/etc/puppet/lib/puppet/parser/functions/nodeinfo.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/files/etc/puppet/lib/puppet/parser/functions/nodeinfo.rb b/files/etc/puppet/lib/puppet/parser/functions/nodeinfo.rb index 2e0521d19..e9b72fa94 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 -- 2.20.1