[chef] Re: Specify cookbook name in metadata.rb? (or: how to organize your cookbooks on github)?


Chronological Thread 
  • From: "Wolfe, Eric G" < >
  • To: " " < >
  • Subject: [chef] Re: Specify cookbook name in metadata.rb? (or: how to organize your cookbooks on github)?
  • Date: Tue, 29 May 2012 11:23:37 +0000
  • Accept-language: en-US

Yes.  The metadata attribute is "name".

sent from my phone, excuse any nonsensical autocorrect stuff.

Torben Knerr 
< >
 wrote:



Ohai Chefs!

Is it possible to specify the cookbook name in metadata.rb?

The trouble I'm having is that when I prefix my github cookbook repos with 
"cookbooks-" I have to make sure to clone them into the right directory, e.g. 
'git clone https://github.com/.../cookbooks-apache2 apache2' so that I can 
use it as 'recipe[apache2]' and not 'recipe[cookbooks-apache2]'.

I didn't want to create a special github account for cookbooks only, still I 
want to be able to somehow group them.

Or any other suggestions?

Thanks,
Torben



Archive powered by MHonArc 2.6.16.

§