diff --git a/lib/puppet/provider/f5_profileclientssl/f5_profileclientssl.rb b/lib/puppet/provider/f5_profileclientssl/f5_profileclientssl.rb index 74f055a..de96698 100644 --- a/lib/puppet/provider/f5_profileclientssl/f5_profileclientssl.rb +++ b/lib/puppet/provider/f5_profileclientssl/f5_profileclientssl.rb @@ -26,6 +26,7 @@ def self.instances 'ca_file', 'client_certificate_ca_file', 'peer_certification_mode', + 'chain_file', ] methods.each do |method| @@ -42,6 +43,7 @@ def self.instances 'key_file', 'ca_file', 'client_certificate_ca_file', + 'chain_file', ] methods.each do |method| @@ -80,6 +82,10 @@ def create if resource[:peer_certification_mode] self.peer_certification_mode = resource[:peer_certification_mode] end + + if resource[:chain_file] + self.chain_file = resource[:chain_file] + end end def destroy diff --git a/lib/puppet/type/f5_profileclientssl.rb b/lib/puppet/type/f5_profileclientssl.rb index e7c4829..a79b6b5 100644 --- a/lib/puppet/type/f5_profileclientssl.rb +++ b/lib/puppet/type/f5_profileclientssl.rb @@ -43,4 +43,8 @@ newproperty(:peer_certification_mode) do desc "The peer certification modes for the specified client SSL profiles." end + + newproperty(:chain_file) do + desc "The certificate chain filenames for the specified client SSL profiles." + end end