cookbook 'scaledown_cleanup', '= 0.1.0'
scaledown_cleanup (6) Versions 0.1.0 Follow3
Removes nodes and client keys from chef server upon shutdown (runlevel 0 aka AWS termination)
cookbook 'scaledown_cleanup', '= 0.1.0', :supermarket
knife supermarket install scaledown_cleanup
knife supermarket download scaledown_cleanup
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:
- Attribute out some more variables.
- Test to see if it works on other Linux distros
Contributing
- Fork the repository on Github
- Create a named feature branch (like
add_component_x
) - Write your change
- Write tests for your change (if applicable)
- Run the tests, ensuring they all pass
- 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
0.1.0 passed this metric