[chef] Re: Re: What to do if community cookbooks not suitable. What are my options?


Chronological Thread 
  • From: Josiah Kiehl < >
  • To:
  • Subject: [chef] Re: Re: What to do if community cookbooks not suitable. What are my options?
  • Date: Tue, 7 May 2013 13:33:34 -0700

If that's all you're doing, make a wrapper recipe that does node.set on the attributes you need to set yourself and then call include_recipe "thatcookbook::recipe"

If the values are not configurable, make a PR on the cookbook making those values configurable and then do the above.

Maintaining your own fork just to set configs is a large amount of overhead for something you need not do at all.


On Tue, May 7, 2013 at 11:16 AM, Jens Skott < " target="_blank"> > wrote:
If its just that you need to change attributes or perhaps some templates to suite your needs then fork the cookbook and rewrite it in your local repo. 

I prefer to write my own cookbooks in full since most are yum packages with alot of special configuration needs. 

Thats how I do it atleast =)


Jens Skott 
Schibsted Centralen IT



On Tue, May 7, 2013 at 3:57 PM, Vladimir Skubriev < " target="_blank"> > wrote:
Now I have the following paths:

1. Write you full
2. Write you full based on non suitable community cookbook
3. Using chef-edit

May be are any other ways that I do not know yet?

Thank you.

--
Best regards,

CVision Lab System Administrator
Vladmir Skubriev






Archive powered by MHonArc 2.6.16.

§