[chef] Re: Re: Re: Notifiaction drives Execution No Matter What


Chronological Thread 
  • From: Andrew Gross < >
  • To: chef < >
  • Subject: [chef] Re: Re: Re: Notifiaction drives Execution No Matter What
  • Date: Mon, 20 May 2013 19:01:33 -0400

I have not investigated how :immediately works when using chained notifications, might be worth a look.


On Mon, May 20, 2013 at 6:51 PM, < " target="_blank"> > wrote:
Thanks for the good idea.  Crafty.

I tried this, see that it works, and understand why.  The downside I discovered
is that notifications take place during a second pass.  This causes challenges
for subsequent resources that nominally execute in the first pass.

For example, after my template and execute resources, I have a service
resource.  With the extra indirection, I have to add a conditional to the
service resource so that it won't execute until the /etc/init.d entry is
created by the execute resource (which is now split in two).




Archive powered by MHonArc 2.6.16.

§