- From: Arjuna Christensen <aj@opscode.com>
- To: chef@lists.opscode.com
- Subject: Re: Question about notifications
- Date: Fri, 12 Jun 2009 09:36:04 +1200
On 12/06/2009, at 6:56 AM, Jeppe Nejsum Madsen wrote: Hi,
So, next step is to try to speed up my recipes and I'm running into a few areas where I don't think I fully understand how things are supposed to work:
remote_file "war" do path "/usr/share/jetty6/webapps/ROOT.war" owner "jetty" mode 0640 source node[:war] notifies :restart, resources(:service => "jetty6") end
I would assume Chef would either a) Start the jetty6 service if it was not running or b) restart the jetty6 service if it was running already And only do this if the remote file has changed.
[snip]
"Init service provider currently doesn't start a
service when the 'restart' action is called if the service is not
already running."
-- AJ Christensen, Software Engineer
|
Archive powered by MHonArc 2.6.16.