lib/chef-api/resources/node.rb in chef-infra-api-0.10.0 vs lib/chef-api/resources/node.rb in chef-infra-api-0.10.2

- old
+ new

@@ -1,9 +1,9 @@ module ChefAPI class Resource::Node < Resource::Base include ChefAPI::AclAble - collection_path '/nodes' + collection_path "/nodes" schema do attribute :name, type: String, primary: true, required: true attribute :automatic, type: Hash, default: {} attribute :default, type: Hash, default: {} @@ -12,9 +12,9 @@ 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' + attribute :chef_environment, type: String, default: "_default" end end end