# File lib/chef/provider/service/upstart.rb, line 68
        def define_resource_requirements
          # Do not call super, only call shared requirements
          shared_resource_requirements
          requirements.assert(:all_actions) do |a|
            if !@command_success
              whyrun_msg = @new_resource.status_command ? "Provided status command #{@new_resource.status_command} failed." : 
                "Could not determine upstart state for service"
            end
            a.assertion { @command_success }
            # no failure here, just document the assumptions made. 
            a.whyrun "#{whyrun_msg} Assuming service installed and not running." 
          end

          requirements.assert(:all_actions) do |a| 
            a.assertion  { @config_file_found } 
            # no failure here, just document the assumptions made. 
            a.whyrun "Could not find #{@upstart_job_dir}/#{@new_resource.service_name}#{@upstart_conf_suffix}. Assuming service is disabled." 
          end
        end