Permalink
Browse files

Merge pull request #102 from mcarpent/master

Add chain_file support for f5_profileclientssl
  • Loading branch information...
2 parents 8bb26c1 + 965206f commit 08354ada68051df5c21e396074402cbda63c4a32 @nanliu nanliu committed Jul 19, 2012
@@ -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
@@ -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.