[chef] Re: Re: Re: Re: Re: Re: Re: Re: Re: Force service start at end of recipe.


Chronological Thread 
  • From: Adam Jacob < >
  • To:
  • Subject: [chef] Re: Re: Re: Re: Re: Re: Re: Re: Re: Force service start at end of recipe.
  • Date: Tue, 17 May 2011 11:10:13 -0700

On Tue, May 17, 2011 at 11:00 AM, Jason J. W. Williams
< >
 wrote:
>> Ahh, you're totally right. I have a sneaking suspicion you'll need to
>> fork/exec to get the new data..
>
> Yeah...so I think I'm stuck with a double bootstrap arrangement of some 
> sort.

Well, let's try this.

ruby_block "crazy" do
  block do
    if fork
      exit 0
    end
  end
end

Things will get weird from there - but let's see if a simple fork will
force the new nsswitch read.

Adam

-- 
Opscode, Inc.
Adam Jacob, Chief Product Officer
T: (206) 619-7151 E: 




Archive powered by MHonArc 2.6.16.

§