From 63217f28a11186e8f87264827ec67ad64bfbf4a7 Mon Sep 17 00:00:00 2001 From: Tim Smith Date: Tue, 18 Aug 2020 09:13:16 -0700 Subject: Further improve osx_profile error message and add a test Make sure we can execute the resource in a Test Kitchen run. Signed-off-by: Tim Smith --- lib/chef/resource/osx_profile.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/chef/resource/osx_profile.rb') diff --git a/lib/chef/resource/osx_profile.rb b/lib/chef/resource/osx_profile.rb index 3528b8f837..437290742d 100644 --- a/lib/chef/resource/osx_profile.rb +++ b/lib/chef/resource/osx_profile.rb @@ -81,7 +81,7 @@ class Chef def check_resource_semantics! if mac? && node["platform_version"] =~ ">= 11.0" - raise "The osx_profile resource is not available on macOS Big Sur or above due to the removal of Apple support for CLI installation of profiles" + raise "The osx_profile resource is not available on macOS Big Sur or above due to Apple's removal of support for CLI profile installation" end if action == :remove -- cgit v1.2.1