summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoah Kantrowitz <noah@coderanger.net>2017-04-04 12:30:51 -0700
committerNoah Kantrowitz <noah@coderanger.net>2017-04-04 12:30:51 -0700
commitbf89c75e3f7dd8d5123c61e73758ae9cc78056bc (patch)
treee8ba2cfbfe68426f6eb4b9f252a5ce1dc3fc0437
parent6b8ca8c387b01799ed94fcd8555ba30618905a1d (diff)
downloadchef-bf89c75e3f7dd8d5123c61e73758ae9cc78056bc.tar.gz
Kill deprecated `knife cookbook site vendor` command.
Signed-off-by: Noah Kantrowitz <noah@coderanger.net>
-rw-r--r--RELEASE_NOTES.md4
-rw-r--r--lib/chef/knife/cookbook_site_vendor.rb46
2 files changed, 4 insertions, 46 deletions
diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md
index 3a459b9a18..14608f822d 100644
--- a/RELEASE_NOTES.md
+++ b/RELEASE_NOTES.md
@@ -240,3 +240,7 @@ mutable default value, define it inside a `lazy{}` helper like:
```ruby
property :x, default: lazy { {} }
```
+
+### `knife cookbook site vendor` has been removed
+
+Please use `knife cookbook site install` instead.
diff --git a/lib/chef/knife/cookbook_site_vendor.rb b/lib/chef/knife/cookbook_site_vendor.rb
deleted file mode 100644
index 291715cc0b..0000000000
--- a/lib/chef/knife/cookbook_site_vendor.rb
+++ /dev/null
@@ -1,46 +0,0 @@
-#
-# Author:: Daniel DeLeo (<dan@chef.io>)
-# Copyright:: Copyright 2011-2016, Chef Software Inc.
-# License:: Apache License, Version 2.0
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-require "chef/knife"
-require "chef/knife/cookbook_site_install"
-
-class Chef::Knife::CookbookSiteVendor < Chef::Knife::CookbookSiteInstall
-
- def self.load_deps
- superclass.load_deps
- end
-
- def self.options=(new_opts)
- superclass.options = new_opts
- end
-
- def self.options
- superclass.options
- end
-
- banner(<<-B)
-*************************************************
-DEPRECATED: please use knife cookbook site install
-*************************************************
-
-#{superclass.banner}
-B
-
- category "deprecated"
-
-end