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

scaledown_cleanup (6) Versions 0.1.0

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

Policyfile
Berkshelf
Knife
cookbook 'scaledown_cleanup', '= 0.1.0', :supermarket
cookbook 'scaledown_cleanup', '= 0.1.0'
knife supermarket install scaledown_cleanup
knife supermarket download scaledown_cleanup
README
Dependencies
Changelog
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!

Requirements

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

Attributes

['chef']['url']
['chef']['client_key']
['chef']['validation_client_name']
['chef']['validation_key']

Usage

scaledown_cleanup::default

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

Features\ToDos:

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

Contributing

  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.

0.1.0

  • [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