summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Jacobs <git@jeroenj.be>2019-01-21 15:23:32 +0100
committerTim Smith <tsmith@chef.io>2019-01-21 09:28:26 -0800
commit28f14bf8c2b312c65a3f648bbce85b3b953147e1 (patch)
treec83e367ac64652033cfcf1affff5e7b8999bd465
parent676cc0cfd7705a61269c6845d054b84fa8ba50f8 (diff)
downloadchef-28f14bf8c2b312c65a3f648bbce85b3b953147e1.tar.gz
Updates homebrew_cask tap name
Homebrew cask was merged into homebrew some time ago: https://github.com/Homebrew/homebrew-cask/issues/14384#issuecomment-242328541. Afterwards the homebrew-cask repositories were also moved to the Homebrew organization. Also see https://github.com/chef-cookbooks/homebrew/pull/134 Signed-off-by: Jeroen Jacobs <chef@jeroenj.be>
-rw-r--r--lib/chef/resource/homebrew_cask.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/resource/homebrew_cask.rb b/lib/chef/resource/homebrew_cask.rb
index 5162228e36..f96188bd08 100644
--- a/lib/chef/resource/homebrew_cask.rb
+++ b/lib/chef/resource/homebrew_cask.rb
@@ -55,7 +55,7 @@ class Chef
action :install do
description "Install an application packaged as a Homebrew cask."
- homebrew_tap "caskroom/cask" if new_resource.install_cask
+ homebrew_tap "homebrew/cask" if new_resource.install_cask
unless casked?
converge_by("install cask #{new_resource.cask_name} #{new_resource.options}") do
@@ -70,7 +70,7 @@ class Chef
action :remove do
description "Remove an application packaged as a Homebrew cask."
- homebrew_tap "caskroom/cask" if new_resource.install_cask
+ homebrew_tap "homebrew/cask" if new_resource.install_cask
if casked?
converge_by("uninstall cask #{new_resource.cask_name}") do