Sha256: 0bb0cdf43e72e6c4b3ba86f5f058678dc3e8f1423e95bff7d03dab271e4d5108
Contents?: true
Size: 699 Bytes
Versions: 3
Compression:
Stored size: 699 Bytes
Contents
module ChefAPI class Resource::Node < Resource::Base include ChefAPI::AclAble collection_path '/nodes' schema do attribute :name, type: String, primary: true, required: true attribute :automatic, type: Hash, default: {} attribute :default, type: Hash, default: {} attribute :normal, type: Hash, default: {} attribute :override, type: Hash, default: {} attribute :run_list, type: Array, default: [] attribute :policy_name, type: String attribute :policy_group, type: String # Enterprise Chef attributes attribute :chef_environment, type: String, default: '_default' end end end
Version data entries
3 entries across 3 versions & 2 rubygems
Version | Path |
---|---|
chef-infra-api-0.10.0 | lib/chef-api/resources/node.rb |
chef-api-0.10.0 | lib/chef-api/resources/node.rb |
chef-infra-api-0.9.1 | lib/chef-api/resources/node.rb |