Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

Select Badges

Select Supported Platforms

Select Status

RSS

pkcs12 (1) Versions 0.1.0

Create PKCS12 certificates

Policyfile
Berkshelf
Knife
cookbook 'pkcs12', '~> 0.1.0', :supermarket
cookbook 'pkcs12', '~> 0.1.0'
knife supermarket install pkcs12
knife supermarket download pkcs12
README
Dependencies
Quality 33%

Description

A simple cookbook that accepts an SSL certificate, key and one or more CA
certificates and outputs a PKCS12 keystore.

Getting Started

If you plan to fork the main cookbook repo please see forking below.

  1. Clone this cookbook.
  2. Make changes as necessary (be sure to write tests as you go)
  3. See Testing below for details on how to run the various tests locally.
  4. Commit and push
  5. Submit a pull request for review.

Generating Documentation

DO NOT EDIT THIS README.md file directly. This file is generated using knife-cookbook-doc plugin.
Install this plugin with gem install knife-cookbook-doc.
Documentation is compiled from the following sources:

  1. Derived for attributes/recipes either by scanning the source code or by explicit declaration in metadata.rb
  2. Markdown files in the doc/ directory (overview is always the first to be compiled)

To edit this README:

  1. Change relevant sections within the markdown files in the doc/ directory
  2. Edit metadata.rb or use inline annotated comments within the source code.
  3. Generate new README using knife-cookbook-doc plugin and push changes to remote branch.

Usage

More usage details coming soon. This is just a quick release to get things moving.

Testing

Install poise gem (using chef gem ... if using ChefDK)

Code Style

To run style tests (Rubocop and Foodcritic):
rake style

If you want to run either Rubocop or Foodcritic separately, specify the style
test type (Rubocop = ruby, Foodcritic = chef)
rake style:chef
or
rake style:ruby

RSpec tests

Run RSpec unit tests
rake spec

Test Kitchen

Run Test Kitchen tests (these tests take quite a bit of time)
rake integration:vagrant

If the cookbook has tests that run in EC2
rake integration:cloud

Forking

If you choose to fork this cookbook here are some good tips to keep things in
order

  1. Fork the cookbook before cloning.
  2. Clone the forked repo, not the original.
  3. Once the fork is cloned, go to the repo directory and add an upstream remote git remote add upstream git@gitlab.example.com:cookbooks/this_cookbook.git

Now you can pull upstream changes (things merged into the main cookbook repo).
Note that you will also need to push to your fork's master to keep it updated.
The alias below will help you. After adding the alias you will simply be able to
run git-reup and it will pull the upstream changes and push them to
your fork. Then checkout a branch and work as normal.

Add the following alias in ~/.bash_profile.
alias git-reup='git checkout master && git pull upstream master && git push origin master'

Requirements

Platform:

No platforms defined

Cookbooks:

  • poise (~> 2.1)

Attributes

No attributes defined

Recipes

No recipes defined

License and Maintainer

Maintainer:: Drew A. Blessing (cookbooks@blessing.io)

License:: Apache 2.0

Dependent cookbooks

poise ~> 2.1

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

Collaborator Number Metric
            

0.1.0 failed this metric

Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.

Contributing File Metric
            

0.1.0 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file

Foodcritic Metric
            

0.1.0 passed this metric

No Binaries Metric
            

0.1.0 passed this metric

Testing File Metric
            

0.1.0 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file

Version Tag Metric
            

0.1.0 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number