25 lines
961 B
Ruby
25 lines
961 B
Ruby
cask "chef-workstation" do
|
|
version "20.12.187"
|
|
sha256 "0cf2f7d0e15e70c66cc50f6361667e11316a585008e560a1effa1c47e94d7d87"
|
|
|
|
url "https://packages.chef.io/files/stable/chef-workstation/#{version}/mac_os_x/10.15/chef-workstation-#{version}-1.dmg"
|
|
appcast "https://omnitruck.chef.io/stable/chef-workstation/metadata?p=mac_os_x&pv=10.15&m=x86_64&v=latest"
|
|
name "Chef Workstation"
|
|
desc "All-in-one installer for the tools you need to manage your Chef infrastructure"
|
|
homepage "https://docs.chef.io/workstation/"
|
|
|
|
depends_on macos: ">= :high_sierra"
|
|
|
|
pkg "chef-workstation-#{version}-1.pkg"
|
|
|
|
uninstall quit: "sh.chef.chef-workstation",
|
|
pkgutil: "com.getchef.pkg.chef-workstation",
|
|
launchctl: "io.chef.chef-workstation.app",
|
|
script: {
|
|
executable: "/opt/chef-workstation/bin/uninstall_chef_workstation",
|
|
sudo: true,
|
|
}
|
|
|
|
zap trash: "~/.chef-workstation/"
|
|
end
|