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

RSS

chef-guard (3) Versions 0.4.2

Installs/Configures Chef-Guard

Berkshelf/Librarian
Policyfile
Knife
cookbook 'chef-guard', '~> 0.4.2'
cookbook 'chef-guard', '~> 0.4.2', :supermarket
knife cookbook site install chef-guard
knife cookbook site download chef-guard
README
Dependencies
Changelog
Quality 44%

Chef-Guard

The Chef-Guard cookbook installs and configures Chef-Guard into your environment

Attributes

Please check http://xanzy.io/projects/chef-guard for all needed details

Usage

This cookbook uses Chef-Vault to store the .pem file content, bookshelf key, and bookshelf secret. The pem file is the private key of the Chef user that Chef-Guard uses to interact with the Chef server and Supermarket. Bookshelf is an internal component of your Chef installation and is used to store uploaded cookbook files.

Please see the following examples for creating the vault items:

knife vault create chef-guard chef.pem -M client -S "name:some-node-search" -A your-chef-username --file chef.pem

The bookshelf keys are created by Chef during install time and are saved in either /etc/chef-server/chef-server-secrets.json (for Open Source Chef) or /etc/opscode/private-chef-secrets.json (for Enterpise Chef and Chef 12) and look something like this in those files:

 "bookshelf": {
    "access_key_id": "xxxxxx",
    "secret_access_key": "yyyyyy"
 }

So just get the keys from one of those files and create the vault like this to get yourself going:

knife vault create chef-guard chef.bookshelf -M client -S "name:some-node-search" -A your-chef-username '{"key":"xxxxxx","secret":"yyyyyy"}'

Contributing

  1. Fork the repository on Github
  2. Create a named feature branch (i.e. add-new-recipe)
  3. Write your change
  4. Write tests for your change (if applicable)
  5. Run the tests, ensuring they all pass
  6. Submit a Pull Request

License and Authors

Authors: Sander van Harmelen (sander@xanzy.io)

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Dependent cookbooks

This cookbook has no specified dependencies.

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

Chef-Guard CHANGELOG

0.4.2

  • Fixed attributes and chef-vault for Chef 13+ compatibility

0.4.1

  • Updated the version attibutes to use the latest release of Chef-Guard v0.7.1.

0.4.0

  • Updated the version attibutes to use the latest release of Chef-Guard v0.7.0. This also required updating some config attributes to remain compatible with the latest version.

0.3.5

  • Updated the version attibutes to use the latest release of Chef-Guard v0.6.2

0.3.4

  • Added systemd support for CentOS / RHEL 7 and up.

0.3.3

  • Updated the version attibutes to use the latest release of Chef-Guard v0.6.1
  • Updated the foodcritic tests for better readability

0.3.2

  • Fixed foodcritic tests

0.3.1

  • Fixed syntax error in the custom foodcritic tests

0.3.0

  • Updated the cookbook to use Chef-Guard v0.6.0 which requires some config changes
  • Converted the custom Chef-Guard foodcritic file to a template. You can now add a custom regex to check for certain cookbook names and the embedded foodcritic tests will only run against matching cookbooks.

0.2.7

  • Fixed the chef-guard.conf template so it includes to the 'chefclient' section

0.2.6

  • Updated the version attibutes to use the latest release of Chef-Guard v0.5.0
  • Added a new attribute for manageing the Chef clients path (new feature of Chef-Guard)

0.1.2

  • Changed the version attibute to point to the latest release of Chef-Guard v0.3.0

0.1.1

  • Improved some parts of the cookbook and added Chef-Vault logic to manage the secure items of this cookbook

0.1.0

  • Initial release of chef-guard-cookbook

Collaborator Number Metric
            

0.4.2 failed this metric

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

Contributing File Metric
            

0.4.2 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.4.2 failed this metric

FC064: Ensure issues_url is set in metadata: chef-guard/metadata.rb:1
FC065: Ensure source_url is set in metadata: chef-guard/metadata.rb:1
FC066: Ensure chef_version is set in metadata: chef-guard/metadata.rb:1
FC069: Ensure standardized license defined in metadata: chef-guard/metadata.rb:1
Run with Foodcritic Version 12.0.1 with tags metadata,correctness ~FC031 ~FC045 and failure tags any

License Metric
            

0.4.2 passed this metric

No Binaries Metric
            

0.4.2 passed this metric

Publish Metric
            

0.4.2 passed this metric

Supported Platforms Metric
            

0.4.2 passed this metric

Testing File Metric
            

0.4.2 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.4.2 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