diff options
author | Tim Smith <tsmith@chef.io> | 2016-10-19 19:48:15 +0100 |
---|---|---|
committer | Tim Smith <tsmith@chef.io> | 2016-10-19 19:48:15 +0100 |
commit | efebcd5896ace1eaa9f695009414c915e6843e3f (patch) | |
tree | efb0b441981ab2652c2fcfca7faf2f09661b1836 /lib/chef/resource | |
parent | 9965f280523f0cf467906615dc90d416a3621a57 (diff) | |
download | chef-efebcd5896ace1eaa9f695009414c915e6843e3f.tar.gz |
Use property vs. attribute in yum_property
We just auto replace the attribute call with a property call here. We might as well use the right one to start with.
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'lib/chef/resource')
-rw-r--r-- | lib/chef/resource/yum_repository.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/resource/yum_repository.rb b/lib/chef/resource/yum_repository.rb index 2989f1bf87..2709c3f666 100644 --- a/lib/chef/resource/yum_repository.rb +++ b/lib/chef/resource/yum_repository.rb @@ -57,7 +57,7 @@ class Chef property :password, String, regex: /.*/ property :repo_gpgcheck, [TrueClass, FalseClass] property :report_instanceid, [TrueClass, FalseClass] - property :repositoryid, String, regex: /.*/, name_attribute: true + property :repositoryid, String, regex: /.*/, name_property: true property :sensitive, [TrueClass, FalseClass], default: false property :skip_if_unavailable, [TrueClass, FalseClass] property :source, String, regex: /.*/ |