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


chef-handler-scrutinizer (2) Versions 1.0.1

Distribute and enable Chef Report handlers for scrutinizer-ci

cookbook 'chef-handler-scrutinizer', '~> 1.0.1', :supermarket
cookbook 'chef-handler-scrutinizer', '~> 1.0.1'
knife supermarket install chef-handler-scrutinizer
knife supermarket download chef-handler-scrutinizer
Quality 17%


GitHub tag
Build Status

chef-handler-scrutinizer installs/configures a chef_handler which triggers a inspection on scrutinizer-ci on successful Chef run.


node[chef_handler]["handler_path"] - location to drop off handlers directory, default is /var/chef/handlers.

node['scrutinizer']['chef-handler']['api_url'] - Scrutinizer API Endpoint, default is
node['scrutinizer']['chef-handler']['access_token'] - Scrutinizer Access Token, required, default is nil.
node['scrutinizer']['chef-handler']['type'] - Repository type, g = github / b = bitbucket / nil = git, default is nil.
node['scrutinizer']['chef-handler']['repository_name'] - Repository name, default is nil.
node['scrutinizer']['chef-handler']['branch'] - Repository branch, default is master.
node['scrutinizer']['chef-handler']['source_reference'] - Git reference, default is HEAD.
node['scrutinizer']['chef-handler']['title'] - Title to report on Scrutinizer, default is Chef client run succeeded on X deployed with X on X/X.
node['scrutinizer']['chef-handler']['config'] - Path to custom Scrutinizer YML config, default is #{node['chef_handler']['handler_path']}/scrutinizer.yml.


Put the recipe chef_handler and chef-handler-scrutinizer at the start of the node's run list to make sure that custom handlers are dropped off early on in the Chef run and available for later recipes.


  • Ruby >= 1.9


This cookbook depends on the following community cookbooks.

  • chef_handler


The following platforms are supported and tested:

  • Debian 7.x


  1. Fork the repository from GitHub.
  2. Clone your fork to your local machine:

    $ git clone
  3. Create a git branch

    $ git checkout -b my_bug_fix
  4. Write tests

  5. Make your changes/patches/fixes, committing appropriately

  6. Run the tests: foodcritic, rubocop, kitchen test

  7. Push your changes to GitHub

  8. Open a Pull Request


chef-handler-scrutinizer is on Travis CI which tests against multiple Chef and Ruby versions.

The following Rake tasks are provided for automated testing of the cookbook:

  • rake rubocop - Run [RuboCop] style and lint checks
  • rake foodcritic - Run [Foodcritic] lint checks
  • rake integration - Run [Test Kitchen] integration tests (provisions a Vagrant VM using this cookbook and then tests the infrastructure with [Serverspec])
  • rake test - Run all tests

License and Authors

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

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
See the License for the specific language governing permissions and
limitations under the License.

Dependent cookbooks

This cookbook has no specified dependencies.

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

chef-handler-scrutinizer cookbook CHANGELOG

v1.0.1 (18 May 2015)

  • fix handler which returns if chef run succeeds

v1.0.0 (18 May 2015)

  • initial public release

Collaborator Number Metric

1.0.1 failed this metric

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

Contributing File Metric

1.0.1 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, and your repo must contain a file

Foodcritic Metric

1.0.1 failed this metric

FC064: Ensure issues_url is set in metadata: chef-handler-scrutinizer/metadata.rb:1
FC065: Ensure source_url is set in metadata: chef-handler-scrutinizer/metadata.rb:1
FC066: Ensure chef_version is set in metadata: chef-handler-scrutinizer/metadata.rb:1
FC067: Ensure at least one platform supported in metadata: chef-handler-scrutinizer/metadata.rb:1
FC069: Ensure standardized license defined in metadata: chef-handler-scrutinizer/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any

No Binaries Metric

1.0.1 passed this metric

Testing File Metric

1.0.1 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, and your repo must contain a file

Version Tag Metric

1.0.1 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, and your repo must include a tag that matches this cookbook version number