[chef] Re: force restart/start


Chronological Thread 
  • From: Tom Thomas < >
  • To:
  • Subject: [chef] Re: force restart/start
  • Date: Fri, 13 May 2011 07:23:06 -0700

If I'm interpreting your question correctly - just yesterday we added an FAQ[1] on this very topic :)  Check that out and see if it responds to what you are seeking...

- Tom 

[1] http://wiki.opscode.com/display/chef/Troubleshooting+and+Technical+FAQ#TroubleshootingandTechnicalFAQ-HowcanIensurethatmyrecipeprocesses%2Cregardlessofthefullrunofchefclientcompleting%3F

On Fri, May 13, 2011 at 12:37 AM, Haselwanter Edmund < "> > wrote:
Hi chefs :-)

Another best practice request:

Some cookbook recipes are designed for a generic case. I would like to have as less changes to them as possible.
At the moment I'm thinking about the problem of start/restart actions.

lets say we use a recipe to install/configure a service. during converge it gets a action start or restart and
does that with a delayed notification. fine.

now I know that I have a dependency on that service and want to ensure that (e.g. in the very last recipe on that node)
the service receives a :restart :immediately but does pop the whatever :restart/:start from its delayed actions.

How would I implement that?

cu edi
--
DI Edmund Haselwanter, "> , http://edmund.haselwanter.com/
http://www.iteh.at | http://facebook.com/iTeh.solutions | http://at.linkedin.com/in/haselwanteredmund









Archive powered by MHonArc 2.6.16.

§