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


scaledown_cleanup (6) Versions 0.1.0

Removes nodes and client keys from chef server upon shutdown (runlevel 0 aka AWS termination)

cookbook 'scaledown_cleanup', '= 0.1.0', :supermarket
cookbook 'scaledown_cleanup', '= 0.1.0'
knife supermarket install scaledown_cleanup
knife supermarket download scaledown_cleanup
Quality 100%

scaledown_cleanup Cookbook

This cookbook allows your nodes to act as remote workstations to delete themselves from the chef server during scaledown. Intended for auto-scaling groups as any machine entering run level 0 will remove itself from chef. Probably not the best practice for managing your chef server but YOLO!


No requirements at the moment beside chef. Only tested on Ubuntu 12.04.





Two steps:
1. Include recipe in your front-end's run list (via role or env or recipe)
2. Personalize the attributes for your infrastructure


  1. Attribute out some more variables.
  2. Test to see if it works on other Linux distros


  1. Fork the repository on Github
  2. Create a named feature branch (like add_component_x)
  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 using Github

License and Authors

Authors: Brendan Ledoux

Dependent cookbooks

This cookbook has no specified dependencies.

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

scaledown_cleanup CHANGELOG

This file is used to list changes made in each version of the scaledown_cleanup cookbook.


  • [Brendan Ledoux] - Initial release of scaledown_cleanup

Check the Markdown Syntax Guide for help with Markdown.

The Github Flavored Markdown page describes the differences between markdown on github and standard markdown.

Foodcritic Metric

0.1.0 passed this metric