[chef] Re: usage of 'site-cookbooks' for template customizing


Chronological Thread 
  • From: "John E. Vincent (lusis)" < >
  • To:
  • Subject: [chef] Re: usage of 'site-cookbooks' for template customizing
  • Date: Tue, 3 Apr 2012 14:28:10 -0400

On Tue, Apr 3, 2012 at 1:57 PM,  
< >
 wrote:
> Hello,
>
> We have used the following documentation section in order to customize
> templates from the mysql and php cookbooks:
> http://wiki.opscode.com/display/chef/Cookbooks#Cookbooks-CustomizingTemplatesandFiles
>
> so we created a site-cookbooks folder, added it to the cookbook_path config 
> for
> knife, and created apache et mysql directory structure for the templates in
> order to override my.cnf.erb for mysql and debian/php.ini.erb for php
>
> but when running the command
>
> knife cookbook upload -a
> ......
> Could you let us know what we are doing wrong please ?
>
> Thanks in advance for your answers.
>
> Best regards,
> Christophe

You aren't doing anything wrong per se. The functionality you're using
is most likely going to be deprecated. You can search the archives for
"cookbook shadowing" but essentially the merged view of a cookbook and
precedence will be going away.

You can contribute your voice on the ticket here:

http://tickets.opscode.com/browse/CHEF-2308



Archive powered by MHonArc 2.6.16.

§