首页 > 解决方案 > 与弃用有关的厨师问题

问题描述

有人见过这个吗?

我不知道该怎么做。


[2021-04-14T23:01:57+00:00] WARN: Resource apt_preference built into Chef Infra Client is being overridden by the resource from a cookbook. Please upgrade your cookbook or remove the cookbook from your run_list.
[2021-04-14T23:01:57+00:00] WARN: Resource ohai_hint built into Chef Infra Client is being overridden by the resource from a cookbook. Please upgrade your cookbook or remove the cookbook from your run_list.
[2021-04-14T23:01:57+00:00] WARN: Resource windows_certificate built into Chef Infra Client is being overridden by the resource from a cookbook. Please upgrade your cookbook or remove the cookbook from your run_list.
[2021-04-14T23:01:57+00:00] WARN: Deprecation CHEF-31 from /opt/chef/embedded/lib/ruby/2.6.0/forwardable.rb:230:in `setup_run_context'
 Resource windows_certificate needs `provides :windows_certificate` in addition to `resource_name :windows_certificate` declaration
Please see https://docs.chef.io/deprecations_resource_name_without_provides/ for further details and information on how to correct this problem.

标签: chef-infra

解决方案


推荐阅读