summaryrefslogtreecommitdiff
path: root/lib/chef/resource/yum_repository.rb
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2018-11-15 13:10:04 -0800
committerTim Smith <tsmith@chef.io>2018-11-15 13:10:04 -0800
commitb5da9b99fc53641cef96fbe0b8cce304efacc9db (patch)
tree51dd7ac7532df29ceb91dca0627b03f1017d04df /lib/chef/resource/yum_repository.rb
parent5991cd84731a5c22e4ad411c38334b506d07ab9a (diff)
downloadchef-b5da9b99fc53641cef96fbe0b8cce304efacc9db.tar.gz
Replace several uses of attribute with property in resourcesattribute_is_property
We were still calling things attributes when they're actually properties. This fixes some documentation and error messages. Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'lib/chef/resource/yum_repository.rb')
-rw-r--r--lib/chef/resource/yum_repository.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/resource/yum_repository.rb b/lib/chef/resource/yum_repository.rb
index 7ee0cd88d4..f3d73bff53 100644
--- a/lib/chef/resource/yum_repository.rb
+++ b/lib/chef/resource/yum_repository.rb
@@ -143,7 +143,7 @@ class Chef
description: "Determines whether to report the instance ID when using Amazon Linux AMIs and repositories."
property :repositoryid, String, regex: [/^[^\/]+$/],
- description: "Specifies a unique name for each repository, one word. Defaults to name attribute.",
+ description: "Specifies a unique name for each repository, one word. Defaults to name property.",
validation_message: "repositoryid property cannot contain a forward slash '/'",
name_property: true