forked from Homebrew/homebrew-cask
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathchef-workstation.rb
23 lines (18 loc) · 903 Bytes
/
chef-workstation.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
cask 'chef-workstation' do
version '0.18.3'
sha256 '53312b80cfd0bbc29b3be73cfc0a6c438fd1873c60c0752ac3b636c62fdcbab3'
url "https://packages.chef.io/files/stable/chef-workstation/#{version}/mac_os_x/10.13/chef-workstation-#{version}-1.dmg"
appcast 'https://omnitruck.chef.io/stable/chef-workstation/metadata?p=mac_os_x&pv=10.14&m=x86_64&v=latest'
name 'Chef Workstation'
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