    # File lib/chef/environment.rb, line 139
        def cookbook(cookbook, version)
          validate({
            :version => version
          },{
            :version => {
              :callbacks => { "should be a valid version requirement" => lambda { |v| Chef::Environment.validate_cookbook_version(v) } }
            }
          })
          @cookbook_versions[cookbook] = version
        end