[chef] Re: Re: Re: Re: Re: Anybody uses git subtree in a chef repo to development cookbooks separately from the production chef-repo ?


Chronological Thread 
  • From: Eduardo Dias < >
  • To:
  • Subject: [chef] Re: Re: Re: Re: Re: Anybody uses git subtree in a chef repo to development cookbooks separately from the production chef-repo ?
  • Date: Tue, 29 Oct 2013 09:52:16 -0200

hummmm.
I think that I understood you.
I never used chef-repo before, I have read quickly some minutes before, I nee to read more to try to help you.
Basically, if I am not wrong, it makes a local repo with all cookbook that you want to manage, with the same structure of chef server.
Sorry but I need to learn more.

Eduardo


2013/10/29 Vladimir Skubriev < " target="_blank"> >
29.10.2013 15:23, Eduardo Dias пишет:

Well,

I never mind to upload a bunch of cookbooks in one time, this it is not usual to us, since we have a Jenkins pipeline that test and then upload each cookbook, to guarantee that we are not uploading cookbook with errors.
But is a interesting approach.

I doesn't mean that I download all site cookbooks, for example from https://github.com/opscode/cookbooks.git in a one subtree.

I want to create a separate subtree for each site (opscode community) cookbook in my chef-repo.

Or may be clone alien(foreign) cookbooks in a separate directory for example to ~/chef-cookbooks/foreign_cookbook_name.

Do a development in this cloned repo, and if I want to upload this cookbook to my chef server - then create a subtree in chef-repo, which is with origin from ~chef-cookbooks/foreign_cookbook_name.

Because as I understand chef-repo is created not for development cookbooks. chef-repo is for store chef-server configuration in one place under control version system.

Right way to doing development of cookbooks is a standalone cloned separate repository (one for one cookbook).

This is quite and more easy to contribute authors of cookbooks which is used by you. (I hope that that you understand me)

Or may be I something wrong ?

If I see some related to this I send to you.

Regards,

Eduardo
Thank you. I will be wait )))


--
Best regards,

CVision Lab System Administrator
Vladmir Skubriev




--

Atenciosamente,

Eduardo



Archive powered by MHonArc 2.6.16.

§