By default, reports are not stored on the individual nodes, but sent to the 
master. There are some situations where local files get created, mostly 
involving the node running standalone. Not sure if PE has different 
defaults, but normally you should find all reports on the master, in the 
directory specified by reportdir.

http://docs.puppetlabs.com/references/latest/configuration.html#reports You 
should check all the report* parameters on that page for correctness in 
your environment.

Details on the report formats is on this page. 
http://docs.puppetlabs.com/references/latest/report.html

An option to 'reports' that is oddly not mentioned on that page is the 
puppetdb option, which is to store reports in puppetdb, and is described on 
this page. 
http://docs.puppetlabs.com/puppetdb/1.4/connect_puppet_master.html

On Monday, September 16, 2013 9:10:05 AM UTC-7, root wrote:
>
> Still cannot figure out why I have such a variety of dates for the yaml 
> files that exist in /var/opt/lib/pe-puppet/reports/`hostname` on each node. 
> Each node is configured with "report = true", and the reports are 
> supposedly being sent to the Master. Not sure at all why sometimes I get a 
> local yaml file, and sometimes I don't.
>
> Anyway, I'm using Puppet Enterprise, and my reading of the docs tells me 
> the Master is storing the info from each run in PuppetDB. Anyone have any 
> luck extracting info from PuppetDB? Again, what I'm looking for is what 
> Puppet changed or wants to change on each node. Thanks. 
>
> On Saturday, September 14, 2013 3:16:35 PM UTC-4, root wrote:
>
>> Cross-posted from Puppet Enterprise Users:
>>
>> Is Puppet Enterprise (3.0) supposed to create a yaml file in 
>> /var/opt/lib/pe-puppet/reports/$hostname every time it runs?  Because the 
>> files in this directory on all my nodes are not very consistent and they 
>> are not recent.  If I do a puppet run on the node either through 
>> the Console or manually on the the node, it does not create a new yaml 
>> report file.
>>  
>> My bigger need is to generate my own custom reports from Puppet runs.  I 
>> thought these yaml files would be easier to parse than the log messages 
>> sent to syslog.  The information I want to display is a summary of what 
>> Puppet found to change for particular class/modules.  
>>  
>> Thanks.
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to