- From: Daniel DeLeo <
>
- To:
- Subject: [chef] Re: RE: Re: Convergence and Execution Problems
- Date: Fri, 7 Nov 2014 07:44:36 -0800
On Friday, November 7, 2014 at 6:00 AM,
wrote:
>
Hi Daniel,
>
What would be the best way to achieve that? Would I need some sort of
>
return? My resource is not indempotent as it is only ever run when a
>
particular file needs to be copied, once done it will not be used again
>
(although the code in the library cookbook will obviously be used
>
repeatedly by different cookbooks).
>
>
>
Thanks
>
Chris
>
Depends on how this LWRP works. If there’s some external script that gets
run, you could modify it to wait for everything to be fully stopped.
Alternatively, you could poll for some condition (in ruby code) that tells
you it’s safe to proceed.
--
Daniel DeLeo
Archive powered by MHonArc 2.6.16.