On Wed, Apr 3, 2013 at 9:57 PM, Brian Akins < " target="_blank"> > wrote:
I've always been a big fan of documenting the code "with the code." I find it odd to document the attributes in the metadata.rb rather than the attributes file(s). Same with recipes, etc.
I agree. An early version of the plugin actually did this by executing the attribute files. I ran into problems where some of the cookbooks actually had logic in them - particularly when interacting with ohai data and this was difficult to mock out. In theory you could go back to a regex/extract approach but that also has it's own problems.
--
Cheers,
Peter Donald
Archive powered by MHonArc 2.6.16.