# File lib/chef/provider/ifconfig.rb, line 137 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" run_command( :command => command ) Chef::Log.info("#{@new_resource} disabled") @new_resource.updated_by_last_action(true) else Chef::Log.debug("#{@new_resource} does not exist - nothing to do") end end