- From: Daniel DeLeo <
>
- To:
- Subject: [chef] Re: Notifications order and grouping
- Date: Sat, 21 Jan 2012 11:07:26 -0800
On Saturday, January 21, 2012 at 2:41 AM, Steffen Gebert wrote:
>
Hi list!
>
>
Can I be sure that resources notified by delayed notifications are executed
>
in the same order as they were notified? Or is this non-deterministic?
Delayed notifications are queued in the order received. One possible gotcha
here is that duplicate notifications are quashed, so if you send
notifications A, B, C, A, you end up with just A, B, C, and the last one is
ignored.
>
>
And is it possible to group resource and notify them at once? e.g. I want
>
to execute some scripts but don't want to list every single one of them at
>
many places. So can I just notify one resource, which then includes a bunch
>
of resources to execute?
Depending on your constraints, you may be best off creating an LWRP for your
group of resources and notifying it.
>
>
Thanks for your help
>
Steffen
--
Dan DeLeo
Archive powered by MHonArc 2.6.16.