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


Chronological Thread 
  • From: Torben Knerr < >
  • To:
  • Subject: [chef] Re: Re: Specify cookbook name in metadata.rb? (or: how to organize your cookbooks on github)?
  • Date: Tue, 29 May 2012 21:04:00 +0200

@Jamie, Eric: thanks, exactly what I was looking for!

@Mike: thanks for the pointer to knife-github-cookbooks. Librarian I'm actually using already. My problem was rather that on my github account I wanted to separate the cookbook git repos from other git repos

Thanks guys!
Torben

On Tue, May 29, 2012 at 1:23 PM, Wolfe, Eric G < " target="_blank"> > wrote:
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.

§