djoos-cookbooks / newrelic

Development repository for the newrelic cookbook
https://supermarket.chef.io/cookbooks/newrelic
MIT License
143 stars 247 forks source link

Adds PHP Agent version attribute to allow pinning the version #389

Closed alexkokkinos closed 3 years ago

alexkokkinos commented 3 years ago

This change allows you to set the 'version' attribute of 'php_agent' to install and pin a specific New Relic agent cookbook.

This can be useful as I have seen one occasion where a New Relic PHP agent release has caused performance issues and needed to be rolled back.

I wanted to add some kind of test for this but I couldn't figure out how to do that within the current setup. I'm more than willing to put more time into that if needed.

alexkokkinos commented 3 years ago

I made a correction to this and tested manually on my own instances. I think it should be ready to go.

djoos commented 3 years ago

Thanks for your contribution @alexkokkinos!