summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/chef/resource/homebrew_update.rb4
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