Skip to content
This repository has been archived by the owner on Jun 5, 2020. It is now read-only.

Commit

Permalink
Merge pull request #102 from mcarpent/master
Browse files Browse the repository at this point in the history
Add chain_file support for f5_profileclientssl
  • Loading branch information
nanliu committed Jul 19, 2012
2 parents 8bb26c1 + 965206f commit 08354ad
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
Expand Up @@ -26,6 +26,7 @@ def self.instances
'ca_file',
'client_certificate_ca_file',
'peer_certification_mode',
'chain_file',
]

methods.each do |method|
Expand All @@ -42,6 +43,7 @@ def self.instances
'key_file',
'ca_file',
'client_certificate_ca_file',
'chain_file',
]

methods.each do |method|
Expand Down Expand Up @@ -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
Expand Down
4 changes: 4 additions & 0 deletions lib/puppet/type/f5_profileclientssl.rb
Expand Up @@ -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

0 comments on commit 08354ad

Please sign in to comment.