- From: Torben Knerr <
>
- To:
- Subject: [chef] Re: Re: Re: How to add/modify the default template provided by cookbook but without editing the given template?
- Date: Mon, 13 Aug 2012 09:21:01 +0200
On Sat, Aug 11, 2012 at 12:56 PM, Sachin Sagar Rai
<
>
wrote:
>
>
But my question still remains that what if the third-party cookbook doesn't
>
have the LWRP?
>
I believe you could place an "override template" in
$CHEF_REPO/site-cookbooks/chef-client/templates, which would be a
rather hacky solution (think of monkeypatching the cookbook).
Actually, I would rather recommend to fork the chef-client cookbook
and roll your own. If your addition is something generally useful you
should try to get it back to the community (via COOK ticket + pull
request), if it's very specific to your case you can stay with your
own fork.
Cheers,
Torben
>
>
-------------------------------------------
>
@millisami
>
~ Sachin Sagar Rai
>
>
Ruby on Rails Developer
>
http://tfm.com.np
>
http://nepalonrails.tumblr.com
>
Sent with Sparrow
>
Archive powered by MHonArc 2.6.16.