- From: "
" <
>
- To: "
" <
>
- Subject: [chef] RE: Re: RE: Re: Convergence and Execution Problems
- Date: Fri, 7 Nov 2014 16:33:38 +0000
- Accept-language: en-GB, en-US
Ok, thanks Daniel, I'll refine the service stopping script to check for
service stopped status before it completes.
Thanks for the help!
-----Original Message-----
From: Daniel DeLeo
[mailto:
On Behalf Of Daniel DeLeo
Sent: 07 November 2014 15:45
To:
Subject: [chef] Re: RE: Re: Convergence and Execution Problems
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.