Class: Chef::Knife::SupermarketDownload
- Inherits:
-
Knife::CookbookSiteDownload
- Object
- Knife::CookbookSiteDownload
- Chef::Knife::SupermarketDownload
- Defined in:
- lib/chef/knife/supermarket_download.rb
Instance Method Summary collapse
Instance Method Details
#cookbooks_api_url ⇒ Object
45 46 47 |
# File 'lib/chef/knife/supermarket_download.rb', line 45 def cookbooks_api_url "#{config[:supermarket_site]}/api/v1/cookbooks" end |
#run ⇒ Object
38 39 40 41 42 43 |
# File 'lib/chef/knife/supermarket_download.rb', line 38 def run Chef::Log.deprecation <<EOF The `knife-supermarket` gem has been deprecated and the `knife supermarket` subcommands have been moved in to core Chef. Please ensure you have Chef 12.12 or newer, and then uninstall this gem. EOF super end |