From: Stephen Gran Date: Sat, 14 Nov 2009 18:08:44 +0000 (+0000) Subject: syntax error X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=7001185323bf29b7bb413a1eafd7dee213346289;p=mirror%2Fdsa-puppet.git syntax error Signed-off-by: Stephen Gran --- 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"