- From: Douglas Thrift <
>
- To:
- Subject: [chef] Re: [collectd] cookbook upgrade
- Date: Wed, 27 Aug 2014 11:20:00 -0700
Hello,
I haven't had time to look at what you've done. But, here at RightScale
we have a fork that added support for CentOS that we haven't gotten
around to contributing back. You may wish to take a look and see if you
can incorporate similar changes into your version:
https://github.com/EfrainOlivares/chef-collectd/compare/generalize_install_for_both_centos_and_ubuntu
Douglas William Thrift
<
http://douglasthrift.net/>
On 8/27/2014 10:57 AM, Jek Sirex wrote:
>
Ohai, Chefs!
>
>
Recently, I've started work on upgrading cookbook collectd:
>
https://github.com/coderanger/chef-collectd (which looks abandoned)
>
Now I finished with completely rewritten cookbook:
>
https://github.com/jsirex/cookbook-collectd
>
>
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:
>
>
1.
>
Added many skeleton files (Gemfile, Berksfile, Rake, Kitchen, etc)
>
2. Introduced full testing with rubocop, foodcritic, chefspec, test-kitchen
>
3.
>
Attributes have been converted from symbols to strings
>
4. Cookbook by default does not install any plugin
>
5. Supported platform for now Debian and Ubuntu
>
6. Definition has been removed
>
7. Added HWR and many HWP (provider is chosen dynamically by name of
>
the plugin)
>
8. Added possibility to multiply times call collectd_plugin resource
>
from different recipes or cookbooks. Options are merged!
>
9. 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.
>
10. Recipe "collectd::_test_plugins" added. You can use it as
>
example/reference. Also specs are using this recipe for tests
>
>
>
best regards,
>
Yauhen
Archive powered by MHonArc 2.6.16.