- From: Andy Gale <
>
- To:
- Subject: [chef] Re: How to override the source erb template from another custom cookbook?
- Date: Wed, 4 Jul 2012 14:00:06 +0100
On Wed, Jul 4, 2012 at 1:11 PM, Millisami
<
>
wrote:
>
>
I want to replace/override the contents of the `client.rb.erb` template
>
that is
>
inside the `templates/default/client.rb.erb`, with my other cookbook that
>
will
>
run later.
>
>
Duplicating and doing the same thing my own cookbook/recipes with templates
>
is
>
doable. But is this the a good practice is such case?
I try to always avoid editing the Opscode/community cookbooks. Suggest
following the apache2/wordpress example here:
http://wiki.opscode.com/display/chef/Templates
--
Andy Gale
http://andy-gale.com
http://twitter.com/andygale
Archive powered by MHonArc 2.6.16.