A sample report that is sent back in yaml format to the puppetmaster in $vardir/puppet/reports/<puppetdclient.example.org> looks like this:
--- !ruby/object:Puppet::Transaction::Report host: puppetdclient.example.org logs: - !ruby/object:Puppet::Util::Log file: /etc/puppet/manifests/templates.pp level: !ruby/sym notice line: 37 message: executed successfully source: "//Node[default]/Exec[/bin/ps aux | /bin/grep puppet | /bin/grep -v grep]/returns" tags: - exec - node - default - class - main - returns - notice time: 2010-09-24 13:53:17.465847 -04:00 version: 1285350797 I see that the source command string is there, but the stdout (and err) of the ps command does not appear in the yaml. Is there a way to turn this on so it ends up in here? On Fri, Sep 24, 2010 at 1:08 PM, Tim Lank <timl...@timlank.com> wrote: > Thanks. Can you elaborate on the puppet's reports? All I see are here: > http://docs.puppetlabs.com/references/latest/report.html > > Is there one that reports on the stdout&stderr of the tasks the client > performs? (and not in YAML) > > The remote syslog would take some coding to cull together in a coherent and > readable manner for each individual client. > > > > On Fri, Sep 24, 2010 at 12:55 PM, Patrick <kc7...@gmail.com> wrote: > >> >> On Sep 24, 2010, at 3:52 AM, Tim Lank wrote: >> >> puppet-users: >> >> I'm trying to find a way to obtain the stdout (and stderr) output from >> individual puppet client configuration runs. I'd like a central storage of >> this information if possible. >> >> In short, I'd like to know what the client exactly did with the >> configuration that it was sent. Ideally I'd like for this to be in one >> location so that I can write scripts to report on the results. >> >> Thanks in advance for your assistance. >> >> >> Why not use puppet's reports or a remote syslog? >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Puppet Users" group. >> To post to this group, send email to puppet-us...@googlegroups.com. >> To unsubscribe from this group, send email to >> puppet-users+unsubscr...@googlegroups.com<puppet-users%2bunsubscr...@googlegroups.com> >> . >> For more options, visit this group at >> http://groups.google.com/group/puppet-users?hl=en. >> > > -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-us...@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.