You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[2017-01-19T12:26:49+00:00] ERROR: Cloning resource attributes for apt_package[apt-transport-https] from prior resource
Previous apt_package[apt-transport-https]: /tmp/kitchen/cache/cookbooks/apt/recipes/default.rb:85:in `from_file' Current apt_package[apt-transport-https]: /tmp/kitchen/cache/cookbooks/datadog/recipes/repository.rb:24:in `from_file' (CHEF-3694)/tmp/kitchen/cache/cookbooks/datadog/recipes/repository.rb:24:in `from_file'. Please see https://docs.chef.io/deprecations_resource_cloning.html for further details and information on how to correct this problem. at /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/formatters/doc.rb:419:in `deprecation'
This affects users who already prepare their chef setup for chef13 and enable "deprecations_as_errors" in their kitchen setups.
The text was updated successfully, but these errors were encountered:
Thanks @rmoriz for the feedback and PR, there's a discussion about this issue in #388.
Basically removing this resource from the datadog cookbook would require bumping the dependency on the apt cookbook. Instead we could change the name of the resource in this cookbook to avoid resource cloning (see the PR I linked to for the full discussion, feel free to respond there)
Hi,
chef-datadog/recipes/repository.rb
Lines 24 to 26 in 2a7e914
This affects users who already prepare their chef setup for chef13 and enable "deprecations_as_errors" in their kitchen setups.
The text was updated successfully, but these errors were encountered: