summaryrefslogtreecommitdiff
path: root/lib/chef/provider/osx_profile.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/provider/osx_profile.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/provider/osx_profile.rb')
-rw-r--r--lib/chef/provider/osx_profile.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/provider/osx_profile.rb b/lib/chef/provider/osx_profile.rb
index 531d822334..7a2f8ced20 100644
--- a/lib/chef/provider/osx_profile.rb
+++ b/lib/chef/provider/osx_profile.rb
@@ -68,7 +68,7 @@ class Chef
!@new_profile_identifier.end_with?(".mobileconfig") &&
/^\w+(?:(\.| )\w+)+$/.match(@new_profile_identifier)
end
- a.failure_message RuntimeError, "when removing using the identifier attribute, it must match the profile identifier"
+ a.failure_message RuntimeError, "when removing using the identifier property, it must match the profile identifier"
else
new_profile_name = new_resource.profile_name
a.assertion do