2020-07-27 17:19:49 +08:00
|
|
|
cask "chef-workstation" do
|
2020-11-19 05:45:27 +08:00
|
|
|
version "20.11.180"
|
|
|
|
sha256 "87a262156a221c943f37d03e03e1044f04c936172fcc9043a017e0fd282daec3"
|
2020-05-06 10:50:03 +08:00
|
|
|
|
2020-08-05 19:26:38 +08:00
|
|
|
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"
|
2020-07-27 17:19:49 +08:00
|
|
|
name "Chef Workstation"
|
2020-10-22 09:30:51 +08:00
|
|
|
desc "All-in-one installer for the tools you need to manage your Chef infrastructure"
|
2020-07-27 17:19:49 +08:00
|
|
|
homepage "https://docs.chef.io/workstation/"
|
2020-05-06 10:50:03 +08:00
|
|
|
|
2020-07-27 17:19:49 +08:00
|
|
|
depends_on macos: ">= :high_sierra"
|
2020-05-06 10:50:03 +08:00
|
|
|
|
|
|
|
pkg "chef-workstation-#{version}-1.pkg"
|
|
|
|
|
2020-07-27 17:19:49 +08:00
|
|
|
uninstall quit: "sh.chef.chef-workstation",
|
|
|
|
pkgutil: "com.getchef.pkg.chef-workstation",
|
|
|
|
launchctl: "io.chef.chef-workstation.app",
|
2020-05-06 10:50:03 +08:00
|
|
|
script: {
|
2020-07-27 17:19:49 +08:00
|
|
|
executable: "/opt/chef-workstation/bin/uninstall_chef_workstation",
|
|
|
|
sudo: true,
|
|
|
|
}
|
2020-05-06 10:50:03 +08:00
|
|
|
|
2020-07-27 17:19:49 +08:00
|
|
|
zap trash: "~/.chef-workstation/"
|
2020-05-06 10:50:03 +08:00
|
|
|
end
|