Chapter 09/circuit-oneops-1-master/components/cookbooks/f5-bigip/libraries/provider_ltm_sslprofiles.rb
#
# Set passphrase  given new_resource passphrase parameter
#
Set passphrase  given new_resource passphrase parameter
Set passphrase given new_resource passphrase parameter
def update_passphrase
        converge_by("Update #{new_resource} passphrase") do
          Chef::Log.info "Update #{new_resource} passphrase"
          load_balancer.client['LocalLB.ProfileClientSSL'].set_passphrase(["/Common/#{new_resource.sslprofile_name}"], [{"value" => "#{new_resource.passphrase}", "default_flag" => "false" }])
          current_resource.passphrase(new_resource.passphrase)
          new_resource.updated_by_last_action(true)
        end
      end
def update_passphrase converge_by ( "Update #{new_resource} passphrase" ) do Chef :: Log . info "Update #{new_resource} passphrase" load_balancer . client [ 'LocalLB.ProfileClientSSL' ] . set_passphrase ( [ "/Common/#{new_resource.sslprofile_name}" ] , [ { "value" => "#{new_resource.passphrase}" , "default_flag" => "false" } ] ) current_resource . passphrase ( new_resource . passphrase ) new_resource . updated_by_last_action ( true ) end end
Set passphrase  given new_resource passphrase parameter
Set passphrase given new_resource passphrase parameter