2014-11-14 01:25:33 +08:00
|
|
|
cask :v1 => 'chefdk' do
|
2014-11-14 01:59:05 +08:00
|
|
|
version '0.3.4-1'
|
|
|
|
sha256 'f4647e69df4bb3a4e66a82f24ff8f6ee253904e0655608dc102e215c4409db04'
|
2014-06-27 08:01:03 +08:00
|
|
|
|
2014-11-14 02:56:36 +08:00
|
|
|
# amazonaws is the official download host per the vendor homepage
|
2014-09-18 08:22:39 +08:00
|
|
|
url "https://opscode-omnibus-packages.s3.amazonaws.com/mac_os_x/10.8/x86_64/chefdk-#{version}.dmg"
|
2014-11-14 02:56:11 +08:00
|
|
|
homepage 'https://getchef.com/'
|
2014-10-03 05:04:05 +08:00
|
|
|
license :apache
|
2014-06-27 08:01:03 +08:00
|
|
|
|
2014-09-18 09:25:40 +08:00
|
|
|
pkg "chefdk-#{version}.pkg"
|
2014-04-22 23:16:29 +08:00
|
|
|
uninstall :pkgutil => 'com.getchef.pkg.chefdk',
|
2014-09-18 19:57:54 +08:00
|
|
|
:delete => [
|
2014-04-24 01:05:39 +08:00
|
|
|
'/opt/chefdk/',
|
|
|
|
'/usr/bin/berks',
|
|
|
|
'/usr/bin/chef',
|
|
|
|
'/usr/bin/chef-apply',
|
|
|
|
'/usr/bin/chef-client',
|
|
|
|
'/usr/bin/chef-shell',
|
|
|
|
'/usr/bin/chef-solo',
|
|
|
|
'/usr/bin/chef-zero',
|
|
|
|
'/usr/bin/fauxhai',
|
|
|
|
'/usr/bin/foodcritic',
|
|
|
|
'/usr/bin/kitchen',
|
|
|
|
'/usr/bin/knife',
|
|
|
|
'/usr/bin/ohai',
|
|
|
|
'/usr/bin/rubocop',
|
|
|
|
'/usr/bin/shef',
|
|
|
|
'/usr/bin/strain',
|
2014-09-18 19:57:54 +08:00
|
|
|
'/usr/bin/strainer',
|
2014-04-24 01:05:39 +08:00
|
|
|
]
|
2014-04-22 23:16:29 +08:00
|
|
|
end
|