cookbook 'save_convergence_handler', '~> 1.0.0', :supermarket
save_convergence_handler (1) Versions 1.0.0 Follow0
Chef handler to save convergene info to disk
cookbook 'save_convergence_handler', '~> 1.0.0'
knife supermarket install save_convergence_handler
knife supermarket download save_convergence_handler
Chef Save Convergence Handler
A simple chef handler, that will save the last convergence time to disk.
Designed to help monitoring systems that read data persisted to disk.
Usage
Set attributes and include_recipe 'save_convergence_handler'
Attributes may be seen in [attributes/default.rb]
A complete example can be seen in the [integration tests](test/cookbooks/save_convergence_handler_test/recipes/filters.rb)
Testing
I don't know how to test handlers with chefspec, so testing is primarily done through test kitchen.
Related Projects
There are lots of chef handlers out there. These are some that felt related, but not quite appropriate.
- https://github.com/chrisgit/chef-summary_handlers
- https://github.com/juliandunn/cookbook_versions_handler
Monitoring Systems
DataDog
This cookbook includes a datadog custom check. You'll need to configure and install it. For an example, look at the [integration tests](test/cookbooks/datadog_test/recipes/default.rb)
Dependent cookbooks
chef_handler >= 0.0.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
Collaborator Number Metric
1.0.0 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.0 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 https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
1.0.0 passed this metric
No Binaries Metric
1.0.0 passed this metric
Publish Metric
1.0.0 passed this metric
Supported Platforms Metric
1.0.0 failed this metric
save_convergence_handler should declare what platform(s) it supports.
Testing File Metric
1.0.0 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 https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
1.0.0 passed this metric
1.0.0 failed this metric
1.0.0 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 https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
1.0.0 passed this metric
No Binaries Metric
1.0.0 passed this metric
Publish Metric
1.0.0 passed this metric
Supported Platforms Metric
1.0.0 failed this metric
save_convergence_handler should declare what platform(s) it supports.
Testing File Metric
1.0.0 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 https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
1.0.0 passed this metric
1.0.0 passed this metric
1.0.0 passed this metric
Publish Metric
1.0.0 passed this metric
Supported Platforms Metric
1.0.0 failed this metric
save_convergence_handler should declare what platform(s) it supports.
Testing File Metric
1.0.0 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 https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
1.0.0 passed this metric
1.0.0 passed this metric
1.0.0 failed this metric
save_convergence_handler should declare what platform(s) it supports.
Testing File Metric
1.0.0 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 https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
1.0.0 passed this metric
1.0.0 failed this metric
1.0.0 passed this metric