Closed zepheiryan closed 6 years ago
This warning isn't actually an issue the way that resource cloning is being done. Resource cloning is a tough deprecation warning because a good chunk of the time it warns, but the cloning won't cause failures in Chef 13. This cookbook does work in 13/14 without issues.
Cookbook version
v5.1.2
Chef-client version
v12.21.26
Platform Details
Scenario:
We're preparing to make the move to Chef 13 by eliminating sources of the resource cloning warning message. We've gotten rid of all of our own self-inflicted cloning instances, and now the only two left come from this cookbook colliding with the
chef-client
cookbook as they battle over/etc/chef
and/var/log/chef
.Additionally, the repeated use of the same resource name for all
service
s inresources/service_systemd.rb
appears to set off resource cloning warnings, too, as seen in #134.Steps to Reproduce:
Include
chef-client::config
,chef-client::service
, andpush-jobs::default
in a node's run list:There is a newer release of
chef-client
, but thehelpers.rb
file has not changed in this regard.Expected Result:
No resource cloning warnings.
Actual Result:
From our logs, every day:
Additional output excerpt from that chef-client -o run (same as #134):