# File lib/chef/provider/ifconfig.rb, line 150 def action_disable # check to see if load_current_resource found the interface # disables, but leaves config files in place. if @current_resource.device command = "ifconfig #{@new_resource.device} down" converge_by ("run #{command} to disable #{@new_resource}") do run_command( :command => command ) Chef::Log.info("#{@new_resource} disabled") end else Chef::Log.debug("#{@new_resource} does not exist - nothing to do") end end