Sha256: 9c5040fe2cbd4e210c02240667f03409612f0907e1425173d1f174b2146acb8f

Contents?: true

Size: 485 Bytes

Versions: 8

Compression:

Stored size: 485 Bytes

Contents

module ChefAPI
  class Resource::Group < Resource::Base
    collection_path "/groups"

    schema do
      attribute :groupname, type: String, primary: true, required: true
      attribute :name,      type: String
      attribute :orgname,   type: String
      attribute :actors,    type: Array, default: []
      attribute :users,     type: Array, default: []
      attribute :clients,   type: Array, default: []
      attribute :groups,    type: Array, default: []
    end
  end
end

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
chef-infra-api-0.10.10 lib/chef-api/resources/group.rb
chef-api-0.10.10 lib/chef-api/resources/group.rb
chef-infra-api-0.10.7 lib/chef-api/resources/group.rb
chef-api-0.10.7 lib/chef-api/resources/group.rb
chef-infra-api-0.10.5 lib/chef-api/resources/group.rb
chef-api-0.10.5 lib/chef-api/resources/group.rb
chef-infra-api-0.10.2 lib/chef-api/resources/group.rb
chef-api-0.10.2 lib/chef-api/resources/group.rb