diff options
Diffstat (limited to 'lib/chef/knife/cookbook_site_download.rb')
-rw-r--r-- | lib/chef/knife/cookbook_site_download.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/chef/knife/cookbook_site_download.rb b/lib/chef/knife/cookbook_site_download.rb index 655bf602a5..69ea827972 100644 --- a/lib/chef/knife/cookbook_site_download.rb +++ b/lib/chef/knife/cookbook_site_download.rb @@ -18,6 +18,7 @@ require_relative "../knife" require_relative "supermarket_download" +require_relative "../dist" class Chef class Knife @@ -31,7 +32,7 @@ class Chef category "deprecated" def run - Chef::Log.warn("knife cookbook site download has been deprecated in favor of knife supermarket download. In Chef 16 (April 2020) this will result in an error!") + Chef::Log.warn("knife cookbook site download has been deprecated in favor of knife supermarket download. In #{Chef::Dist::PRODUCT} 16 (April 2020) this will result in an error!") super end |