- From: "Jason J. W. Williams" <
>
- To:
- Subject: [chef] Re: Re: Force service start at end of recipe.
- Date: Fri, 13 May 2011 14:07:36 -0600
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=fAnpZKHKYW7OP2tBoei55AnyuhIaa9ChZj6n0ogudusTYAsAUntDINhlB7GniChmfU yfkKwZI+9eLFVt5Z6PyeCQcuZnhZnCDEq3Zfxd4GBCwtVw6jjgP/MGw4r0EMei08N9e8 tibRcML5zUxhJQKFWSngdejlkTsvCu0y1H81c=
Hi Adam,
Hmm...that's weird then. I've already got those services defined with :start..
service "nscd" do
action [:enable, :start]
supports :restart => true, :reload => true
end
service "nslcd" do
action [:enable, :start]
supports :restart => true, :reload => true
en
-J
On Fri, May 13, 2011 at 11:18 AM, Adam Jacob
<
>
wrote:
>
You can add a simple:
>
>
service "YOUR-DAEMON-HERE" do
>
action :start
>
end
>
>
Or similar to the end of the LDAP client recipe, to ensure it gets started.
>
>
On Fri, May 13, 2011 at 9:57 AM, Jason J. W. Williams
>
<
>
>
wrote:
>
> Besides putting :immediately on the service restart notifies in the
>
> template commands, is there a way to force a new service to start at the
>
> end of a recipe?
>
>
>
> My problem is I have a recipe that correctly installs ldap authentication
>
> for the OS, but since it doesn't immediately start the client daemon,
>
> subsequent recipes fail when they reference users defined in the ldap
>
> directory. Any pointers are greatly appreciated.
>
>
>
> -J
>
>
>
> Sent via iPhone
>
>
>
> Is your e-mail Premiere?
>
>
>
>
--
>
Opscode, Inc.
>
Adam Jacob, Chief Product Officer
>
T: (206) 619-7151 E:
>
>
- [chef] Force service start at end of recipe., Jason J. W. Williams, 05/13/2011
- [chef] Re: Force service start at end of recipe., Adam Jacob, 05/13/2011
- [chef] Re: Re: Force service start at end of recipe., Jason J. W. Williams, 05/13/2011
- [chef] Re: Re: Force service start at end of recipe., Jason J. W. Williams, 05/13/2011
- [chef] Re: Re: Re: Force service start at end of recipe., Adam Jacob, 05/13/2011
- [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
Archive powered by MHonArc 2.6.16.