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