projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
syntax error
[mirror/dsa-puppet.git]
/
files
/
etc
/
puppet
/
lib
/
puppet
/
parser
/
functions
/
ldapinfo.rb
diff --git
a/files/etc/puppet/lib/puppet/parser/functions/ldapinfo.rb
b/files/etc/puppet/lib/puppet/parser/functions/ldapinfo.rb
index
a2c95cc
..
23243c0
100644
(file)
--- 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"