diff options
author | Tim Smith <tsmith84@gmail.com> | 2020-08-12 09:15:09 -0700 |
---|---|---|
committer | Tim Smith <tsmith84@gmail.com> | 2020-08-12 14:01:18 -0700 |
commit | 5450793b8d5f6d1b6f4cd5f9819c341cc537c510 (patch) | |
tree | 86cb122f3ab8b5fd346554d8fd62f596867aca89 | |
parent | 798cac61accc035b51aaac25160bf1d5e9715252 (diff) | |
download | chef-5450793b8d5f6d1b6f4cd5f9819c341cc537c510.tar.gz |
Use macos? helper in homebrew_update
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 |