[chef] Re: sending notifications to resources that don't exist yet


Chronological Thread 
  • From: Andrea Campi < >
  • To:
  • Subject: [chef] Re: sending notifications to resources that don't exist yet
  • Date: Wed, 24 Oct 2012 09:09:41 +0200



On Wed, Oct 24, 2012 at 1:57 AM, Leo Dirac (SR) < " target="_blank"> > wrote:
I tried defining the template inside the application's before_deploy callback, but that doesn't seem to do anything.  This kind of circular dependency problem has to have a standard solution, right?


You got other answers that are very good when you're using basic Chef resources.

Since you're using the application cookbook, you have other options.
The before_deploy callback is the best pick if you want your template to change at any time, even if you are not deploying a new version of the app.

However it's broken at the moment due to http://tickets.opscode.com/browse/CHEF-3493
I am looking for a workaround I can apply in the cookbook while the underlying Chef bug is addressed.

Could you possibly revert to 10.12 while we work on this? I should have an update in the next week or so.

Andrea



Archive powered by MHonArc 2.6.16.

§