cask "chef-workstation" do version "20.11.180" sha256 "87a262156a221c943f37d03e03e1044f04c936172fcc9043a017e0fd282daec3" 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