Closed ludusregio closed 7 years ago
This deprecation warning was a hard one and often false alerts. The cookbook actually runs in Chef 13 so I'm going to close this out.
@tas50 The service['splunk'] resource is indeed being cloned in this cookbook. It's first declared in the client recipe (https://github.com/chef-cookbooks/chef-splunk/blob/master/recipes/client.rb#L46), then re-declared in the service recipe (https://github.com/chef-cookbooks/chef-splunk/blob/master/recipes/service.rb#L88 or https://github.com/chef-cookbooks/chef-splunk/blob/master/recipes/service.rb#L103). We have a cookbook that wraps chef-splunk, and to workaround this problem, a third service['splunk'] resource can be declared. However, this takes cloning resources to a ridiculous level.
Cookbook version
chef-splunk 1.7.0
Chef-client version
Platform Details
CentOS Linux release 7.3.1611 (Core)
Scenario:
chef-client report: