diff options
author | Tim Smith <tsmith@chef.io> | 2019-05-27 20:17:49 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-27 20:17:49 -0700 |
commit | de9484f2804884582bb947524f7a9fd6656af7b2 (patch) | |
tree | 26311b75d1985c0ad93eb61103d0c679ed8e4634 /lib/chef/knife/cookbook_site_show.rb | |
parent | 819307636de80266c6eb7e2072839e47f2dd4dbe (diff) | |
parent | aa28c4e17ef1044fda844f4e9fb19f0d8e2469a2 (diff) | |
download | chef-de9484f2804884582bb947524f7a9fd6656af7b2.tar.gz |
Merge pull request #8460 from cc-build/dist_solo_zero
Add distro constants for solo, zero and automate
Diffstat (limited to 'lib/chef/knife/cookbook_site_show.rb')
-rw-r--r-- | lib/chef/knife/cookbook_site_show.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/chef/knife/cookbook_site_show.rb b/lib/chef/knife/cookbook_site_show.rb index 84a7c249e5..3fa390508f 100644 --- a/lib/chef/knife/cookbook_site_show.rb +++ b/lib/chef/knife/cookbook_site_show.rb @@ -18,6 +18,7 @@ require_relative "../knife" require_relative "supermarket_show" +require_relative "../dist" class Chef class Knife @@ -30,7 +31,7 @@ class Chef category "deprecated" def run - Chef::Log.warn("knife cookbook site show has been deprecated in favor of knife supermarket show. In Chef 16 (April 2020) this will result in an error!") + Chef::Log.warn("knife cookbook site show has been deprecated in favor of knife supermarket show. In #{Chef::Dist::PRODUCT} 16 (April 2020) this will result in an error!") super end |