Remove setting

This commit is contained in:
Victor Cabezas 2020-04-16 18:34:14 +02:00
parent 38e4b25e29
commit d42bbd1c9b

View File

@ -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 }