diff options
author | Jeroen Jacobs <git@jeroenj.be> | 2019-01-21 15:23:32 +0100 |
---|---|---|
committer | Jeroen Jacobs <git@jeroenj.be> | 2019-01-21 15:27:16 +0100 |
commit | cd7ed9743176533e22df634f6f6891f4ba4a44e8 (patch) | |
tree | a852b7849d72be25ab785ab26ac5f1dd6d184db1 /lib/chef | |
parent | 5945db66f6f12344ab6fa706014dbe69c1742945 (diff) | |
download | chef-cd7ed9743176533e22df634f6f6891f4ba4a44e8.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>
Diffstat (limited to 'lib/chef')
-rw-r--r-- | lib/chef/resource/homebrew_cask.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/resource/homebrew_cask.rb b/lib/chef/resource/homebrew_cask.rb index 2b0478f826..13f13adb0d 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 |