diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2017-03-30 12:24:56 -0700 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2017-03-30 12:24:56 -0700 |
commit | de209e6ee12939f641ec0ed002c2d3506abaafe7 (patch) | |
tree | 0a6b37f0519a71444250c5ffd84d3df89649228d /lib/chef/resource.rb | |
parent | 5584126a725ab72c24ea610328f56a905986295b (diff) | |
download | chef-de209e6ee12939f641ec0ed002c2d3506abaafe7.tar.gz |
make nameless properties opt-in
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
Diffstat (limited to 'lib/chef/resource.rb')
-rw-r--r-- | lib/chef/resource.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/resource.rb b/lib/chef/resource.rb index 2aee8536a4..9dc01a8d3a 100644 --- a/lib/chef/resource.rb +++ b/lib/chef/resource.rb @@ -84,7 +84,7 @@ class Chef # @param name [Object] The name to set, typically a String or Array # @return [String] The name of this Resource. # - property :name, String, coerce: proc { |v| v.is_a?(Array) ? v.join(", ") : v.to_s }, desired_state: false + property :name, String, coerce: proc { |v| v.is_a?(Array) ? v.join(", ") : v.to_s }, desired_state: false, required: true # # The node the current Chef run is using. |