[chef] Re: Notifications almost but not quite :immediate ?


Chronological Thread 
  • From: Peter Donald < >
  • To: Chef Mailing List < >
  • Subject: [chef] Re: Notifications almost but not quite :immediate ?
  • Date: Mon, 23 Sep 2013 09:13:42 +1000


Ugh. Accidentally sent before completing email ....

On Mon, Sep 23, 2013 at 9:09 AM, Peter Donald < " target="_blank"> > wrote:
Hi,

On Mon, Sep 23, 2013 at 2:22 AM, Kevin Keane Subscription < " target="_blank"> > wrote:
Is there a trick I can use to only cause one notification to be sent after all of the repositories have been added?


We have needed to do this all over our infrastructure and the simple/ugly way of doing it is creating a LWRP and invoking the "use_inline_resources" in the provider.

We then go and declare all the resources we want to converge notifications for and make notifications as delayed. Then when the LWRP completes it will only process the notification once at the end of the group. Something like [1]. 

However we have thought about creating a new LWRP that searches pending notifications and runs those matching a name and removes them from the pending list but I am not sure if we have done that at this stage.

 

--
Cheers,

Peter Donald



Archive powered by MHonArc 2.6.16.

§