Log deprecation message for recipes using easy_install.
MODIFY
recipes/ddtrace-python.rb
recipes/ddtrace-python.rb
# NB: This recipe is compatible with Chef <= 12 only. If you're using Chef 13 or higher
# please refer to the README of the cookbook.
+log 'message' do
+ message 'This recipe will be deprecated in version 3.0.0 of the cookbook. See README.md chapter ddtrace-python for more infos.'
+ level :warn
+end
+
easy_install_package 'ddtrace' do
version node['datadog']['ddtrace_python_version']
end

MODIFY
recipes/dogstatsd-python.rb
recipes/dogstatsd-python.rb
# NB: This recipe is compatible with Chef <= 12 only. If you're using Chef 13 or higher
# please refer to the README of the cookbook.
+log 'message' do
+ message 'This recipe will be deprecated in version 3.0.0 of the cookbook. See README.md chapter dogstatsd-python for more infos.'
+ level :warn
+end
+
easy_install_package 'dogstatsd-python'

Log deprecation message for recipes using easy_install.