Add note to work around jruby-openssl bug

This commit is contained in:
Zach Leslie 2019-02-05 21:38:31 -08:00
parent 6bcc0bd011
commit ab8ec60595
2 changed files with 9 additions and 1 deletions

View File

@ -2,7 +2,7 @@ Gemfile:
optional: optional:
':extra': ':extra':
- gem: 'net-ldap' - gem: 'net-ldap'
version: '~> 0.12.1' version: '~> 0.16.1'
':testextra': ':testextra':
- gem: 'rspec-mocks' - gem: 'rspec-mocks'
- gem: 'rspec-expectations' - gem: 'rspec-expectations'

View File

@ -8,6 +8,14 @@ A Puppet function to query LDAP.
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. 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`
In some environments, when `ldapquery()` is used on Puppet Server, an error
like the following may appear.
Error while evaluating a Function Call
Please make sure you have `jruby-openssl` at least `0.10.1` with `puppetserver
gem install jruby-openssl -v 0.10.1`.
## Sample Usage ## Sample Usage
### On the Master ### On the Master