使用当前的 mysql 8.4.0 说明书时,我在部署时收到全屏弃用错误。
Deprecated features used!
rename install_method to new_resource.install_method at 1 location:
- /root/chef-solo/local-mode-cache/cache/cookbooks/mysql/libraries/mysql_service.rb:34:in `installation'
See https://docs.chef.io/deprecations_namespace_collisions.html for further details.
github 项目没有显示任何与弃用警告相关的未决问题。
有谁知道如何删除这些消息,以便我可以进行干净的部署?
最佳答案
你必须等到 Recipe 修复问题,但这只是一个警告,所以你不必担心。这是 Chef 13.2 中的新警告,因此我们仍在努力清理问题。该功能实际上要到 2018 年 4 月的 Chef 14 才会被删除,所以不用着急:)
关于mysql - Chef MySQL Recipe 弃用警告,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45223721/