summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLamont Granquist <lamont@chef.io>2020-01-16 13:16:45 -0800
committerGitHub <noreply@github.com>2020-01-16 13:16:45 -0800
commitdc2a55b1c9e10e670922c26c2d5af37773a68179 (patch)
tree52927e13f403d83c96d8ea837af3c8a40af4976d
parent4bc193401a089719fa9017a653dd0e8357efb484 (diff)
parenta9e1ade82ec39d1b1fbdea29b79cfd9c139fffa8 (diff)
downloadchef-dc2a55b1c9e10e670922c26c2d5af37773a68179.tar.gz
Use the right class in knife supermarket install (#9217)
Use the right class in knife supermarket install
-rw-r--r--lib/chef/knife/supermarket_install.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/knife/supermarket_install.rb b/lib/chef/knife/supermarket_install.rb
index b0b8fbe1aa..204454eaba 100644
--- a/lib/chef/knife/supermarket_install.rb
+++ b/lib/chef/knife/supermarket_install.rb
@@ -137,7 +137,7 @@ class Chef
end
def download_cookbook_to(download_path)
- downloader = Chef::Knife::CookbookSiteDownload.new
+ downloader = Chef::Knife::SupermarketDownload.new
downloader.config[:file] = download_path
downloader.config[:supermarket_site] = config[:supermarket_site]
downloader.name_args = name_args