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


Chronological Thread 
  • From: Vladimir Skubriev < >
  • To:
  • Subject: [chef] 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 15:37:24 +0400

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




Archive powered by MHonArc 2.6.16.

§