# File lib/chef/provider/ifconfig.rb, line 134 def action_delete # check to see if load_current_resource found the interface if @current_resource.device command = "ifconfig #{@new_resource.device} down" converge_by ("run #{command} to delete #{@new_resource}") do run_command( :command => command ) delete_config Chef::Log.info("#{@new_resource} deleted") end else Chef::Log.debug("#{@new_resource} does not exist - nothing to do") end end