diff options
author | Tim Smith <tsmith@chef.io> | 2020-08-18 08:51:41 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-18 08:51:41 -0700 |
commit | 0837a7e42f842b5b1de757426b1d7942b4edcc43 (patch) | |
tree | 5a916c46429239a6a640c0fcb9637a3b0ba0e057 | |
parent | 5477a96d7725f557502939fc99531b0806978044 (diff) | |
parent | 90c0e1624d38be7e6a39d92ddf09d09ab46e80ca (diff) | |
download | chef-0837a7e42f842b5b1de757426b1d7942b4edcc43.tar.gz |
Merge pull request #10319 from ChefAustin/master
Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r-- | lib/chef/resource/osx_profile.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/resource/osx_profile.rb b/lib/chef/resource/osx_profile.rb index 985d708008..3528b8f837 100644 --- a/lib/chef/resource/osx_profile.rb +++ b/lib/chef/resource/osx_profile.rb @@ -80,8 +80,8 @@ class Chef end def check_resource_semantics! - if mac? && node["platform_version"] =~ "> 10.15" - raise "The osx_profile resource is not available on macOS Bug Sur or above due to the removal of apple support for CLI installation of profiles" + 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" end if action == :remove |