- From: Daniel DeLeo <
>
- To:
- Subject: [chef] Re: Re: Re: Re: Re: Re: Re: Writing a Start Handler
- Date: Tue, 19 Aug 2014 10:43:56 -0700
On Tuesday, August 19, 2014 at 10:40 AM, Douglas Garstang wrote:
>
Ranjib,
>
>
You said that using chef_handler is not an idea solution. If we look at the
>
alternatives, I still don't understand where to put the files.
Anywhere on the filesystem. If you want to package it up and share it, then
you can create a rubygem, but this is overkill for many use cases.
>
You mentioned a require statement. There's no require statement in the
>
client.rb file, so I don't know where that's supposed to go.
You add it yourself, at the top of the file.
>
If the files are present on the AMI before chef runs, I don't know where to
>
place these files. Documentation would be immensely helpful.
>
>
Douglas.
Docs with some examples:
http://docs.getchef.com/handlers.html#id2
--
Daniel DeLeo
[chef] Re: Writing a Start Handler, Steffen Gebert, 08/19/2014
Archive powered by MHonArc 2.6.16.