Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cloning resource attributes for service[newrelic-daemon] from prior resource #374

Open
dipthegeezer opened this issue Feb 13, 2019 · 1 comment

Comments

@dipthegeezer
Copy link
Contributor

dipthegeezer commented Feb 13, 2019

Hello

I get the following warning when running the recipe

"newrelic::php_agent"

Cloning resource attributes for service[newrelic-daemon] from prior resource
Previous service[newrelic-daemon]: /var/chef/cache/cookbooks/newrelic/providers/agent_php.rb:80:in newrelic_daemon' Current service[newrelic-daemon]: /var/chef/cache/cookbooks/newrelic/providers/agent_php.rb:170:in startup_mode_config' at 1 location:
- /var/chef/cache/cookbooks/poise/files/halite_gem/poise/helpers/resource_cloning.rb:58:in emit_cloned_resource_warning' See https://docs.chef.io/deprecations_resource_cloning.html for further details.

We are currently on chef 12 but will be moving to the latest chef soon and are concerned that the warning will turn into an error

Thank you.

@lamont-granquist
Copy link

Most 3694 resource cloning errors are ignorable, this is probably one of the ignorable ones.

See:

https://github.com/chef/chef/blob/master/docs/dev/how_to/upgrading_from_chef_12.md#chef-3694-deprecation-warnings

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants