- From: Adam Jacob <
>
- To:
- Subject: [chef] Re: Force service start at end of recipe.
- Date: Fri, 13 May 2011 10:18:13 -0700
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:
Archive powered by MHonArc 2.6.16.