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.
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.
@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
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.