- From: Jek Sirex <
>
- To:
- Subject: [chef] [collectd] cookbook upgrade
- Date: Wed, 27 Aug 2014 20:57:26 +0300
Ohai, Chefs!
I hope that is better now, but it supports Chef ~> 11.0.
If somebody is interesting on collectd cookbook it will be great if you will try my :) (It is my first try to write serious cookbook).
Here is major changes:
-
Added many skeleton files (Gemfile, Berksfile, Rake, Kitchen, etc)
- Introduced full testing with rubocop, foodcritic, chefspec, test-kitchen
Attributes have been converted from symbols to strings
- Cookbook by default does not install any plugin
- Supported platform for now Debian and Ubuntu
- Definition has been removed
- Added HWR and many HWP (provider is chosen dynamically by name of the plugin)
- Added possibility to multiply times call collectd_plugin resource from different recipes or cookbooks. Options are merged!
- Cookbook is flexible: if you want to add custom plugin or override behavior of existing one just define class Chef::Provider::Collectd<MyCustomPlugin>Plugin < Chef::Provider::CollectdPlugin.
- Recipe "collectd::_test_plugins" added. You can use it as example/reference. Also specs are using this recipe for tests
best regards,
Yauhen
- [chef] [collectd] cookbook upgrade, Jek Sirex, 08/27/2014
Archive powered by MHonArc 2.6.16.