]> git.donarmstrong.com Git - dsa-puppet.git/commitdiff
syntax error
authorStephen Gran <steve@lobefin.net>
Sat, 14 Nov 2009 18:08:44 +0000 (18:08 +0000)
committerStephen Gran <steve@lobefin.net>
Sat, 14 Nov 2009 18:08:44 +0000 (18:08 +0000)
Signed-off-by: Stephen Gran <steve@lobefin.net>
files/etc/puppet/lib/puppet/parser/functions/ldapinfo.rb

index a2c95cc2e97151903e07a683bb17aedde38860e9..23243c04041a7458a760490b44caf75d1cac4466 100644 (file)
@@ -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"