[chef] Re: Re: Output formatter doc lacks information about handlers


Chronological Thread 
  • From: Daniel DeLeo < >
  • To:
  • Subject: [chef] Re: Re: Output formatter doc lacks information about handlers
  • Date: Mon, 18 Nov 2013 16:32:13 -0800


On Monday, November 18, 2013 at 4:27 PM, Steffen Gebert wrote:

Hi Daniel,

A patch for this would be welcome.

Any hint, where to start?

Thanks
Steffen
This is the default formatter: https://github.com/opscode/chef/blob/master/lib/chef/formatters/doc.rb

It inherits from EventDispatch::Base (via one or two other classes) https://github.com/opscode/chef/blob/master/lib/chef/event_dispatch/base.rb so all you need to do is define the correct method and make it print something. Try to match the markdown-ish style of the rest of the implementation.

HTH,


-- 
Daniel DeLeo




Archive powered by MHonArc 2.6.16.

§