Method: Puppet::Provider::Ldap#query
- Defined in:
- lib/puppet/provider/ldap.rb
#query ⇒ Object
Collect the current attributes from ldap. Returns the results, but also stores the attributes locally, so we have something to compare against when we update. LAK:NOTE This is normally not used, because we rely on prefetching.
132 133 134 135 136 137 138 139 140 141 142 |
# File 'lib/puppet/provider/ldap.rb', line 132 def query # Use the module function. attributes = manager.find(name) unless attributes @ldap_properties = {} return nil end @ldap_properties = attributes @ldap_properties.dup end |