# File lib/chef/provider/service/gentoo.rb, line 45
  def define_resource_requirements
    requirements.assert(:all_actions) do |a|
      a.assertion { ::File.exists?("/sbin/rc-update") } 
      a.failure_message Chef::Exceptions::Service, "/sbin/rc-update does not exist"
      # no whyrun recovery -t his is a core component whose presence is
      # unlikely to be affected by what we do in the course of a chef run
    end

    requirements.assert(:all_actions) do |a|
      a.assertion { @found_script }
      # No failure, just informational output from whyrun 
      a.whyrun "Could not find service #{@new_resource.service_name} under any runlevel"
    end
  end