Jump to: navigation, search

Chef/Contributing/NewCookbook

< Chef‎ | Contributing
Revision as of 19:44, 16 March 2015 by Kramvan (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

<under construction>

How to create a new Stackforge OpenStack cookbook

Please visit this page and go through the steps suggested.

Blueprint

Stackforge Project

  • create a stackforge project https://github.com/stackforge
  • assign the "chef-manager-core" gerrit group to the project
  • create a patch with the basic cookbook files for getting thru first gate example: https://review.openstack.org/#/c/145120/
    • .gitignore
    • .gitreview
    • .rubocop.yml
    • Berksfile
    • CONTRIBUTING.md
    • Gemfile
    • metadata.md
    • Rakefile
    • README.md
    • TESTING.md
    • /spec/spec_helper.rb
  • create patche(s) to every other OpenStack cookbook that depends upon this directly or in directly with a new Berksfile entry for it. For example, in the bare-metal case, it was added as a new dependency under Compute, so need patch for Compute Berksfile. And since Telemetry also depends upon Compute, it also need Berksfile update.

Infra Integration


back to contributing page: https://wiki.openstack.org/w/index.php?title=Chef/Contributing