diff options
author | Steven Danna <steve@chef.io> | 2015-08-13 15:15:10 -0700 |
---|---|---|
committer | Steven Danna <steve@chef.io> | 2015-08-25 17:30:23 +0100 |
commit | 352966ba10d53923590873fdf84c131260808277 (patch) | |
tree | c00b341830518dbf635b92dec3f30d7013975955 /lib | |
parent | d65432adeaa5fd9491d56ae913a1ff24e9367c4a (diff) | |
download | chef-352966ba10d53923590873fdf84c131260808277.tar.gz |
Mark custom manifests as deprecated
Diffstat (limited to 'lib')
-rw-r--r-- | lib/chef/knife/core/subcommand_loader.rb | 2 |
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) |