- From: AJ Christensen <
>
- To:
- Subject: [chef] Re: setting of my chef cookbooks, how to link to other cookbooks when using git?
- Date: Thu, 12 Apr 2012 09:55:29 +1200
Have a look at Librarian, it's designed for managing this.
Knife also has some built in tools for managing cookbooks -- knife
cookbook site download, knife cookbook site install, knife-github
plugin, etc.
--AJ
On 12 April 2012 09:53, S Ahmed
<
>
wrote:
>
So I'm setting up a simple chef solo repository, and confused how I can
>
pull-in cookbooks from opscode etc.
>
>
Say my structure is like:
>
>
/project/chef
>
/project/chef/conf/solo.rb
>
/project/chef/cookbooks/
>
>
Now my git repository is under /project:
>
>
/project/.git
>
>
When I download other cookbooks, like if I clone opscode cookbooks from
>
github the folder structure is:
>
>
/cookbooks/
>
/cookbooks/activemq
>
...
>
>
So if I want a specific cookbook, I have to copy the folder over to my
>
/cookbooks folder, but then I update the cookbook using git.
>
>
Other individual cookbooks are see around are named like: someapp-cookbook
>
>
I'm sure I'm thinking of this the wrong way, but how can I pull down
>
cookbooks into my cookbooks directly while being able to update them from
>
their git repo?
Archive powered by MHonArc 2.6.16.