- From: Daniel DeLeo <
>
- To:
- Subject: [chef] Re: Chef reporting, 11-to-12 upgrade
- Date: Tue, 25 Nov 2014 14:54:32 -0800
On Tuesday, November 25, 2014 at 2:45 PM, Brian Hatfield wrote:
>
Fairly straightforward question: Will tools that I've built around the
>
open-source 'run handler' hooks continue to work in Chef 12, with the
>
release of the premium reporting feature? Or is the reporting tool a
>
different tool overall?
>
>
In general, I'm having a hard time finding documentation about where things
>
have moved from 'open source' to 'premium' in clear and specific terms (for
>
example, the webui - what else?).
Nothing in the client code has moved from free to premium. All of the
extension points are still there.
About reporting specifically, the way it has always worked (and will continue
to work) is there is an events API that allows you to instrument pretty much
everything in a chef-client run. On top of that, there is a ResourceReporter
class in the chef-client code, which collects data during the chef-client run
and sends it to the analytics service (this is the premium/proprietary part)
if you have that installed. You’re free to look at the client side code and
implement your own version of the analytics service, which is how the Chef
Foreman integration works.
HTH,
--
Daniel DeLeo
* Event dispatch:
https://github.com/opscode/chef/blob/5bab29b02248a4468a7fbf7f6226c30255c3abe3/lib/chef/event_dispatch/base.rb
* Resource reporter:
https://github.com/opscode/chef/blob/5bab29b02248a4468a7fbf7f6226c30255c3abe3/lib/chef/resource_reporter.rb
* Chef Foreman
https://github.com/theforeman/chef-handler-foreman
Archive powered by MHonArc 2.6.16.