diff options
Diffstat (limited to 'lib/chef/knife/cookbook_site_unshare.rb')
-rw-r--r-- | lib/chef/knife/cookbook_site_unshare.rb | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/chef/knife/cookbook_site_unshare.rb b/lib/chef/knife/cookbook_site_unshare.rb index 15f84711cb..850511e650 100644 --- a/lib/chef/knife/cookbook_site_unshare.rb +++ b/lib/chef/knife/cookbook_site_unshare.rb @@ -1,7 +1,7 @@ # # Author:: Stephen Delano (<stephen@chef.io>) # Author:: Tim Hinderliter (<tim@chef.io>) -# Copyright:: Copyright 2010-2016, Chef Software Inc. +# Copyright:: Copyright 2010-2019, Chef Software Inc. # License:: Apache License, Version 2.0 # # Licensed under the Apache License, Version 2.0 (the "License"); @@ -31,6 +31,11 @@ class Chef banner "knife cookbook site unshare COOKBOOK (options)" category "deprecated" + def run + Chef::Log.warn("knife cookbook site unshare has been deprecated in favor of knife supermarket unshare. In Chef 16 (April 2020) this will result in an error!") + super + end + end end end |