summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSteven Danna <steve@chef.io>2015-08-13 15:15:10 -0700
committerSteven Danna <steve@chef.io>2015-08-25 17:30:23 +0100
commit352966ba10d53923590873fdf84c131260808277 (patch)
treec00b341830518dbf635b92dec3f30d7013975955 /lib
parentd65432adeaa5fd9491d56ae913a1ff24e9367c4a (diff)
downloadchef-352966ba10d53923590873fdf84c131260808277.tar.gz
Mark custom manifests as deprecated
Diffstat (limited to 'lib')
-rw-r--r--lib/chef/knife/core/subcommand_loader.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/knife/core/subcommand_loader.rb b/lib/chef/knife/core/subcommand_loader.rb
index 2b45d8b9ce..1d359ffd53 100644
--- a/lib/chef/knife/core/subcommand_loader.rb
+++ b/lib/chef/knife/core/subcommand_loader.rb
@@ -51,7 +51,7 @@ class Chef
Chef::Log.debug("Using autogenerated hashed command manifest #{plugin_manifest_path}")
Knife::SubcommandLoader::HashedCommandLoader.new(chef_config_dir, plugin_manifest)
elsif custom_manifest?
- Chef::Log.debug("Using custom manifest #{plugin_manifest_path}")
+ Chef::Log.deprecation("Using custom manifest #{plugin_manifest_path} is deprecated. Please use a `knife rehash` autogenerated manifest instead.")
Knife::SubcommandLoader::CustomManifestLoader.new(chef_config_dir, plugin_manifest)
else
Knife::SubcommandLoader::GemGlobLoader.new(chef_config_dir)