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_run_recorder (6) Versions 0.3.1

Records the outcome of the last Chef run, for consumption by monitoring, MOTD, etc.

cookbook 'chef_run_recorder', '= 0.3.1', :supermarket
cookbook 'chef_run_recorder', '= 0.3.1'
knife supermarket install chef_run_recorder
knife supermarket download chef_run_recorder
Quality 67%

Chef Run Recorder Cookbook

Maintainer: OIT Systems Engineering (


Adds a chef-handler that creates files that record the result of the last run.
These files are intended to be easily discovered and used by external scripts, e.g. Message of the Day, and so have simple formats.
Most files contain a single string.

  1. /opt/chef/run_record/last_chef_run_node_name: Node name
  2. /opt/chef/run_record/last_chef_run_time: Current timestamp, a single integer representing seconds since epoch
  3. /opt/chef/run_record/last_chef_run_success_flag: Success flag, either 'true' or 'false'
  4. /opt/chef/run_record/last_chef_run_exception: Exception text, or 'none' for success
  5. /opt/chef/run_record/last_chef_run_node.json: The Json representation of the node object



This cookbook requires Chef 13+


Supported Platform Families:

  • Debian
    • Ubuntu, Mint
  • Red Hat Enterprise Linux
    • Amazon, CentOS, Oracle
  • OpenSuse
  • BSD
  • Windows

Platforms validated via Test Kitchen:

  • Ubuntu
  • Debian
  • CentOS
  • Oracle
  • Fedora
  • OpenSuse
  • FreeBSD
  • Windows


  • This cookbook should support any recent Windows or Linux variant.


This cookbook does not constrain its dependencies because it is intended as a utility library. It should ultimately be used within a wrapper cookbook.


This cookbook provides no custom resources.



This recipe adds the handler that records the Chef run. The handler runs at the end of the Chef run, so can be included early or late.


This is an application cookbook; no custom resources are provided. See recipes and attributes for details of what this cookbook does.

Changelog for Chef Run Recorder Cookbook


  • Organizational changes to increase supermarket quality


  • Added node record


  • Upgraded for Chef 14


  • Initial release

Collaborator Number Metric

0.3.1 failed this metric

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

Contributing File Metric

0.3.1 passed this metric

Foodcritic Metric

0.3.1 passed this metric

No Binaries Metric

0.3.1 passed this metric

Testing File Metric

0.3.1 passed this metric

Version Tag Metric

0.3.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