Chapter 09/circuit-oneops-1-master/components/cookbooks/f5-bigip/libraries/provider_ltm_virtual_server.rb
#
# Update the default persistence profile for the virtual server
#
Update the default persistence profile for the virtual server
Update the default persistence profile for the virtual server
def update_default_persistence_profile
        converge_by("Updating #{new_resource} default persistence profile") do
          Chef::Log.info("Updating #{new_resource} default persistence profile")
          update_fallback_persistence_profile('')
          remove_all_persistence_profiles
          add_persistence_profile unless new_resource.default_persistence_profile.empty?
        end
      end
def update_default_persistence_profile converge_by ( "Updating #{new_resource} default persistence profile" ) do Chef :: Log . info ( "Updating #{new_resource} default persistence profile" ) update_fallback_persistence_profile ( '' ) remove_all_persistence_profiles add_persistence_profile unless new_resource . default_persistence_profile . empty? end end
Update the default persistence profile for the virtual server
Update the default persistence profile for the virtual server