Adjust the README

Indicate the minimum version required for net-ldap.  While here, remove
references to versions of Ruby which have been gone long ago!
This commit is contained in:
Romain Tartière 2023-02-16 13:54:43 -10:00
parent 81f72f5a83
commit 373a222692
No known key found for this signature in database
GPG Key ID: BA4D1D955112336F

View File

@ -11,7 +11,7 @@ A Puppet function to query LDAP.
## Dependencies
The Ruby `net-ldap` gem is required to communicate with LDAP. The current version of net-ldap requires ruby 2.0.0. If you run your master with puppetserver you have to use version 0.12.1 which is the last version compatible with ruby 1.9 which is used by puppetserver. To install this use the following command: `puppetserver gem install net-ldap -v 0.12.1`
The Ruby `net-ldap` gem is required to communicate with LDAP. To install this use the following command: `puppetserver gem install net-ldap`. Version 0.11.0 or newer of `net-ldap` is required.
In some environments, when `ldapquery()` is used on Puppet Server, an error
like the following may appear.