diff options
| author | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2007-05-07 20:07:13 +0000 |
|---|---|---|
| committer | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2007-05-07 20:07:13 +0000 |
| commit | a040bd48b1e36e9e6e363896fe98e093b3b19bd0 (patch) | |
| tree | 64ea7f1b0111962112824e886f87a1c09e23f5b0 /lib/puppet/reference/report.rb | |
| parent | f42a755cc2e4bc77880dec9571ccd11f33f2737f (diff) | |
| download | puppet-a040bd48b1e36e9e6e363896fe98e093b3b19bd0.tar.gz puppet-a040bd48b1e36e9e6e363896fe98e093b3b19bd0.tar.xz puppet-a040bd48b1e36e9e6e363896fe98e093b3b19bd0.zip | |
First run at moving references to lib/puppet instead of puppetdoc
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2477 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'lib/puppet/reference/report.rb')
| -rw-r--r-- | lib/puppet/reference/report.rb | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/lib/puppet/reference/report.rb b/lib/puppet/reference/report.rb new file mode 100644 index 000000000..a8086f8bc --- /dev/null +++ b/lib/puppet/reference/report.rb @@ -0,0 +1,21 @@ +report = Puppet::Util::Reference.newreference :report, :doc => "All available transaction reports" do + Puppet::Network::Handler.report.reportdocs +end + +report.header = " +Puppet clients can report back to the server after each transaction. This +transaction report is sent as a YAML dump of the +``Puppet::Transaction::Report`` class and includes every log message that was +generated during the transaction along with as many metrics as Puppet knows how +to collect. See `ReportsAndReporting Reports and Reporting`:trac: +for more information on how to use reports. + +Currently, clients default to not sending in reports; you can enable reporting +by setting the ``report`` parameter to true. + +To use a report, set the ``reports`` parameter on the server; multiple +reports must be comma-separated. You can also specify ``none`` to disable +reports entirely. + +Puppet provides multiple report handlers that will process client reports: +" |
