# File lib/chef/provider/route.rb, line 104 def action_add # check to see if load_current_resource found the route if is_running Chef::Log.debug("Route #{@new_resource.name} already active ") else command = generate_command(:add) Chef::Log.info("Adding route: #{command} ") run_command( :command => command ) @new_resource.updated_by_last_action(true) end #for now we always write the file (ugly but its what it is) generate_config end