From d42bbd1c9bfb7b0212102a47c739dce14dc6d370 Mon Sep 17 00:00:00 2001 From: Victor Cabezas Date: Thu, 16 Apr 2020 18:34:14 +0200 Subject: [PATCH] Remove setting --- lib/puppet_x/ldapquery.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/puppet_x/ldapquery.rb b/lib/puppet_x/ldapquery.rb index e6cb24a..2cf88f7 100644 --- a/lib/puppet_x/ldapquery.rb +++ b/lib/puppet_x/ldapquery.rb @@ -69,8 +69,7 @@ module PuppetX if tls conf[:encryption] = { - method: :simple_tls, - tls_options: { ca_file: ca_file } + method: :simple_tls } if File.file?(ca_file) conf[:encryption][:tls_options] = { ca_file: ca_file }