From a9af8e2960ae484f10a67a9ce40a4bba345d5f0e Mon Sep 17 00:00:00 2001 From: Clemens Bergmann Date: Tue, 22 Jan 2019 05:45:28 +0100 Subject: [PATCH] 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. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 5f69720..d9745d1 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ A Puppet function to query LDAP. ## 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 @@ -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 -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: