    # File lib/chef/provider/service/macosx.rb, line 43
            def define_resource_requirements
              #super
              requirements.assert(:enable) do |a|
                a.failure_message Chef::Exceptions::UnsupportedAction, "#{self.to_s} does not support :enable"
              end

              requirements.assert(:disable) do |a|
                a.failure_message Chef::Exceptions::UnsupportedAction, "#{self.to_s} does not support :disable"
              end

              requirements.assert(:reload) do |a|
                a.failure_message Chef::Exceptions::UnsupportedAction, "#{self.to_s} does not support :reload"
              end

              requirements.assert(:all_actions) do |a|
                a.assertion { @plist_size < 2 }
                a.failure_message Chef::Exceptions::Service, "Several plist files match service name. Please use full service name."
              end

              requirements.assert(:all_actions) do |a|
                a.assertion { @plist_size > 0 }
                # No failrue here in original code - so we also will not
                # fail. Instead warn that the service is potentially missing
                a.whyrun "Assuming that the service would have been previously installed and is currently disabled." do
                  @current_resource.enabled(false)
                  @current_resource.running(false)
                end
              end

            end