mysql - Chef MySQL Recipe 弃用警告

标签 mysql chef-infra chef-recipe

使用当前的 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/

相关文章:

php - 警告 : mysqli_fetch_array() expects parameter 1 to be mysqli_result, bool 值在 ../第 7 行给出

mysql - 选择group_concat()包含字符的记录

mysql - 如何解决 Doctrine 中出现的异常(exception)(Symfony 4)?

redis - 如何使用 Chef JSON 设置 redis 和 sidekiq 配置

ruby - 如何在 Chef-repo 中跨 Chef Recipe 共享代码?

node.js - 是否有基于 Node.js 的替代 Puppet 或 Chef?

ruby - Chef 错误在资源 `start` 上执行操作 'service[httpd]'

ruby-on-rails - 在运行包更新时避免 RSA key 指纹

chef-infra - 如何查看 Chef Recipe 的所有版本?

php - 您的 SQL 语法有错误;关于Mysql SQL注入(inject)