    # File lib/chef/provider/service/redhat.rb, line 39
            def define_resource_requirements
              shared_resource_requirements

              requirements.assert(:all_actions) do |a|
                chkconfig_file = "/sbin/chkconfig"
                a.assertion { ::File.exists? chkconfig_file  }
                a.failure_message Chef::Exceptions::Service, "#{chkconfig_file} does not exist!"
              end

              requirements.assert(:start, :enable, :reload, :restart) do |a|
                a.assertion { !@service_missing }
                a.failure_message Chef::Exceptions::Service, "#{@new_resource}: unable to locate the init.d script!"
                a.whyrun "Assuming service would be disabled. The init script is not presently installed."
              end
            end