Sha256: 9a1f0ecfa059b309e52893f14e8946ed7f380b429d8c327a61e12d2be4d4fa39
Contents?: true
Size: 637 Bytes
Versions: 8
Compression:
Stored size: 637 Bytes
Contents
module ChefAPI class Resource::Role < Resource::Base include ChefAPI::AclAble 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
8 entries across 8 versions & 2 rubygems