- From: AJ Christensen <
>
- To:
- Subject: [chef] Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Force service start at end of recipe.
- Date: Wed, 18 May 2011 10:56:17 +1200
https://github.com/dreamcat4/site-cookbooks/tree/master/restart
On 18 May 2011 10:52, Jason J. W. Williams
<
>
wrote:
>
It seems like the optimal solution would be a recipe command that
>
would instruct chef-client to restart itself at the end of the recipe
>
and then pick up where it left off.
>
>
-J
>
>
On Tue, May 17, 2011 at 4:04 PM, Jason J. W. Williams
>
<
>
>
wrote:
>
> Running 'exec "chef-client"' inside the ruby_block gets further,
>
> except what the original chef-client process was doing with apt
>
> doesn't seem to release /var/lib/dpkg/lock causing the first recipe
>
> that hits an debian package in the new process to fail.
>
>
>
> -J
>
>
>
> On Tue, May 17, 2011 at 3:53 PM, Jason J. W. Williams
>
> <
>
>
> wrote:
>
>>> Yeah, I expect one of those - what happens to the child that forks? Does
>
>>> it complete the run?
>
>>
>
>> Doesn't look like it:
>
>>
>
>> IOError: Cannot open or read
>
>> /var/cache/cookbooks/python-essentials/attributes.rb!
>
>> FATAL: Stacktrace dumped to /var/cache/chef/chef-stacktrace.out
>
>>
>
>
>
- [chef] Re: Re: Re: Re: Force service start at end of recipe., (continued)
- [chef] Re: Re: Re: Re: Force service start at end of recipe., Jason J. W. Williams, 05/13/2011
- [chef] Re: Re: Re: Re: Re: Force service start at end of recipe., Adam Jacob, 05/13/2011
- [chef] Re: Re: Re: Re: Re: Re: Force service start at end of recipe., Jason J. W. Williams, 05/17/2011
- [chef] Re: Re: Re: Re: Re: Re: Re: Force service start at end of recipe., Adam Jacob, 05/17/2011
- [chef] Re: Re: Re: Re: Re: Re: Re: Re: Force service start at end of recipe., Jason J. W. Williams, 05/17/2011
- [chef] Re: Re: Re: Re: Re: Re: Re: Re: Re: Force service start at end of recipe., Adam Jacob, 05/17/2011
- [chef] Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Force service start at end of recipe., Jason J. W. Williams, 05/17/2011
- Message not available
- Message not available
- [chef] Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Force service start at end of recipe., Jason J. W. Williams, 05/17/2011
- [chef] Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Force service start at end of recipe., Jason J. W. Williams, 05/17/2011
- [chef] Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Force service start at end of recipe., Jason J. W. Williams, 05/17/2011
- [chef] Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Force service start at end of recipe., AJ Christensen, 05/17/2011
- [chef] Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Force service start at end of recipe., Jason J. W. Williams, 05/17/2011
[chef] Re: Re: Re: Force service start at end of recipe., Charles Duffy, 05/13/2011
Archive powered by MHonArc 2.6.16.