mirror of
https://github.com/philippdieter/puppet-ldapquery.git
synced 2025-10-14 05:01:43 +00:00
Merge pull request #14 from cbergmann/patch-1
Update Readme with some hints on the setup
This commit is contained in:
commit
6bcc0bd011
@ -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