[chef] Re: Writing a Start Handler


Chronological Thread 
  • From: Steffen Gebert < >
  • To:
  • Subject: [chef] Re: Writing a Start Handler
  • Date: Tue, 19 Aug 2014 20:43:52 +0200

Hi Doug,

I've solved it like this:

https://github.com/TYPO3-cookbooks/etckeeper/blob/master/recipes/commit.rb#L34-L45

Yours
Steffen

On 19/08/14 18:56, Douglas Garstang wrote:
> I'm trying to write a start handler. I've managed to get
> 
> start_handlers << Chef::Reporting::StartHandler.new()
> 
> into the client.rb file. Obviously, I need to change the details. Now, I'm
> reading http://docs.getchef.com/handlers.html and under the ;'Reporting'
> section it talks about how to install the handler, but it doesn't say where
> the start_handler.rb file goes.
> 
> Does it go in a cookbook? This would seem to be a problem to me as the
> handler needs to be deployed before chef runs.
> 
> Doug
> 





Archive powered by MHonArc 2.6.16.

§