Sha256: 709785d1080dd1e16b852b818b55374fd3186629d20c8153ebdccb8fa0077e1c
Contents?: true
Size: 608 Bytes
Versions: 5
Compression:
Stored size: 608 Bytes
Contents
module ChefAPI class Resource::Role < Resource::Base collection_path '/roles' schema do attribute :name, type: String, primary: true, required: true attribute :json_class, type: String, default: "Chef::Role" attribute :description, type: String attribute :default_attributes, type: Hash, default: {} attribute :override_attributes, type: Hash, default: {} attribute :run_list, type: Array, default: [] attribute :env_run_lists, type: Hash, default: {} end has_many :environments end end
Version data entries
5 entries across 5 versions & 1 rubygems