mirror of
https://github.com/philippdieter/puppet-ldapquery.git
synced 2025-10-13 12:55:48 +00:00
Update Readme with some hints on the setup
It took me some time to find these informations. It would be cool if they could be included in the readme.
This commit is contained in:
parent
67885b42b6
commit
a9af8e2960
@ -6,7 +6,7 @@ A Puppet function to query LDAP.
|
|||||||
|
|
||||||
## Dependencies
|
## Dependencies
|
||||||
|
|
||||||
The Ruby `net-ldap` gem is required to communicate with 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`
|
||||||
|
|
||||||
## Sample Usage
|
## Sample Usage
|
||||||
|
|
||||||
@ -14,7 +14,7 @@ The Ruby `net-ldap` gem is required to communicate with LDAP.
|
|||||||
|
|
||||||
|
|
||||||
You must set the necessary variables in `puppet.conf` so the master can connect
|
You must set the necessary variables in `puppet.conf` so the master can connect
|
||||||
to your LDAP server.
|
to your LDAP server. You also have to place the CA certificate (and possible intermediate certificates) of the tls certificate of your ldap server in pem format in a file called ldap_ca.pem in your puppetconf folder.
|
||||||
|
|
||||||
You can simply add the static values like so:
|
You can simply add the static values like so:
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user