# File lib/chef/provider/route.rb, line 102
    def action_add
      # check to see if load_current_resource found the route
      if is_running
        Chef::Log.debug("#{@new_resource} route already active - nothing to do")
      else
        command = generate_command(:add)

        run_command( :command => command )
        Chef::Log.info("#{@new_resource} added")
        @new_resource.updated_by_last_action(true)
      end

      #for now we always write the file (ugly but its what it is)
      generate_config
    end