# File lib/chef/provider/group/usermod.rb, line 30
        def define_resource_requirements
          super

          requirements.assert(:all_actions) do |a| 
            a.assertion { ::File.exists?("/usr/sbin/usermod") } 
            a.failure_message Chef::Exceptions::Group, "Could not find binary /usr/sbin/usermod for #{@new_resource}"
            # No whyrun alternative: this component should be available in the base install of any given system that uses it
          end

          requirements.assert(:modify, :create) do |a|
            a.assertion { @new_resource.members.empty? || @new_resource.append } 
            a.failure_message Chef::Exceptions::Group, "setting group members directly is not supported by #{self.to_s}, must set append true in group"
            # No whyrun alternative - this action is simply not supported.
          end
        end