From 7001185323bf29b7bb413a1eafd7dee213346289 Mon Sep 17 00:00:00 2001 From: Stephen Gran Date: Sat, 14 Nov 2009 18:08:44 +0000 Subject: [PATCH] syntax error Signed-off-by: Stephen Gran --- files/etc/puppet/lib/puppet/parser/functions/ldapinfo.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/etc/puppet/lib/puppet/parser/functions/ldapinfo.rb b/files/etc/puppet/lib/puppet/parser/functions/ldapinfo.rb index a2c95cc2e..23243c040 100644 --- a/files/etc/puppet/lib/puppet/parser/functions/ldapinfo.rb +++ b/files/etc/puppet/lib/puppet/parser/functions/ldapinfo.rb @@ -18,7 +18,7 @@ module Puppet::Parser::Functions unless attributes.include?("*") next if attributes.any?{ |a| not x[a] or x[a].empty? } end - results[x['hostname'] = x + results[x['hostname']] = x end rescue LDAP::ResultError raise Puppet::ParseError, "LDAP error" -- 2.20.1