summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian C. Dunn <jdunn@chef.io>2015-02-10 22:30:20 -0500
committerBryan McLellan <btm@opscode.com>2015-02-12 13:58:11 -0500
commit9445ee9966b25d2f0b6b06c4ec6e727b416f502c (patch)
treea601f716ad2c270c25c408533581484b6c814b05
parent2d988447c6f1947512f0dc2c0964c3a9ead19131 (diff)
downloadchef-9445ee9966b25d2f0b6b06c4ec6e727b416f502c.tar.gz
Deprecate 'knife cookbook test'
-rw-r--r--lib/chef/knife/cookbook_test.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/chef/knife/cookbook_test.rb b/lib/chef/knife/cookbook_test.rb
index 0ff992b392..91e0b55c47 100644
--- a/lib/chef/knife/cookbook_test.rb
+++ b/lib/chef/knife/cookbook_test.rb
@@ -43,6 +43,7 @@ class Chef
:description => "Test all cookbooks, rather than just a single cookbook"
def run
+ ui.warn("DEPRECATED: Please use ChefSpec or Rubocop to syntax-check cookbooks.")
config[:cookbook_path] ||= Chef::Config[:cookbook_path]
checked_a_cookbook = false