mirror of
https://github.com/philippdieter/puppet-ldapquery.git
synced 2025-10-13 12:55:48 +00:00
Check for CA file existence
This commit is contained in:
parent
1433c5596d
commit
38e4b25e29
@ -72,6 +72,9 @@ module PuppetX
|
|||||||
method: :simple_tls,
|
method: :simple_tls,
|
||||||
tls_options: { ca_file: ca_file }
|
tls_options: { ca_file: ca_file }
|
||||||
}
|
}
|
||||||
|
if File.file?(ca_file)
|
||||||
|
conf[:encryption][:tls_options] = { ca_file: ca_file }
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
conf
|
conf
|
||||||
|
Loading…
x
Reference in New Issue
Block a user