diff options
author | Tim Smith <tsmith84@gmail.com> | 2020-08-12 09:15:09 -0700 |
---|---|---|
committer | Tim Smith <tsmith84@gmail.com> | 2020-08-12 09:15:09 -0700 |
commit | 28d68b5566499da8611dc9ff29f4ddedae0a4058 (patch) | |
tree | 369531f364e201bb631acda9d5d0e09088d2e453 | |
parent | 2505112add8e5e220441a2e5aed5456e7dcc3a72 (diff) | |
download | chef-macos_helper.tar.gz |
Use macos? helper in homebrew_updatemacos_helper
This is the one we should be using vs. the alias.
Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r-- | lib/chef/resource/homebrew_update.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/resource/homebrew_update.rb b/lib/chef/resource/homebrew_update.rb index a13d22c223..2bf1f8023f 100644 --- a/lib/chef/resource/homebrew_update.rb +++ b/lib/chef/resource/homebrew_update.rb @@ -86,7 +86,7 @@ class Chef end action :periodic do - return unless mac_os_x? + return unless macos? unless brew_up_to_date? converge_by "update new lists of packages" do @@ -96,7 +96,7 @@ class Chef end action :update do - return unless mac_os_x? + return unless macos? converge_by "force update new lists of packages" do do_update |