diff options
author | Tim Smith <tsmith@chef.io> | 2020-08-12 14:37:59 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-12 14:37:59 -0700 |
commit | fa49835b696254da8ced674b7cfe9ef528cf7b18 (patch) | |
tree | f2bf169455bedcf6b64bf79570210a750b29e2a2 | |
parent | 53dcbe99d02e4514ff19ca55add795686b2dfc13 (diff) | |
parent | 5450793b8d5f6d1b6f4cd5f9819c341cc537c510 (diff) | |
download | chef-fa49835b696254da8ced674b7cfe9ef528cf7b18.tar.gz |
Merge pull request #10290 from chef/macos_helper
Use macos? helper in homebrew_update
-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 |