puppetlabs/puppet — pull request #1073 by cprice-puppet (2012-08-27 21:33:39+00:00)
Title: (#16139) Provide accessors for @puppet_version and @report_format in reports

Prior to this commit, some of the data that was useful / necessary
to write a complete report processor was only accessible via
instance variables, while the vast majority of the data was available
through accessor methods. This commit simply adds accessors for
puppet_version and report_format so that authors of report processors
aren't forced to interact with instance variables. This should
make report processor implementation a bit more consistent, and
provides a little bit of abstraction from the underlying implementation
details.