[chef] Re: Publishing cookbooks guidelines.


Chronological Thread 
  • From: "Eric G. Wolfe" < >
  • To:
  • Subject: [chef] Re: Publishing cookbooks guidelines.
  • Date: Tue, 21 Jan 2014 13:20:55 -0500

metadata.json should be generated by your API client, i.e. knife, when you upload to the community site or a chef-server. You can manually generate the metadata.json with `knife cookbook metadata`.

You can add metadata.json to your .gitignore, since it is just a JSON representation of your metadata.rb.

Eric G. Wolfe
Senior Linux Administrator,
IT Infrastructure Systems
--------------------------------------
Marshall University Computing Services
Drinko Library 428-K
One John Marshall Dr.
Huntington, WV 25755
Phone: 304.942.3970
Email: 


Modern art is what happens when painters stop looking at girls and persuade
themselves that they have a better idea.
                -- John Ciardi

On 01/21/2014 01:14 PM, Alfredo Palhares wrote:
Hello,

I am ready to relase a firt version of a cookbook I made. [1], I made it pass 
foodcritic, and
run on test-kitchen, planing to add extensive testing in the future.

Now when uploading the release tarbal to the opscode site, I get the error 
that it needs a
metada.json. How do you keep this file updated ?

Anything more I should beware before publishing ?

[1] https://github.com/masterkorp/cookbook-taskwarrior

--
Regards,
Alfredo Palhares




Archive powered by MHonArc 2.6.16.

§