Issue #1817 has been updated by James Turnbull.

Target version changed from Puppet - 0.25.4 to Puppet - 0.25.5


----------------------------------------
Bug #1817: order of reports in puppet.conf produces bug
http://projects.reductivelabs.com/issues/1817

Author: Jonathan Billings
Status: Accepted
Priority: Low
Assigned to: 
Category: reports
Target version: 0.25.5
Affected version: 0.24.6
Keywords: 
Branch: 


In my puppet.conf in the [puppetmasterd] section, I have:

reports = tagmail,rrdgraph

I have a class that checks the mode on a file so I can trigger this class 
easily and then run puppetd on a client.  I have my tagmail.conf sending me 
mail if that class generates a report.  When I run puppetd on the client, I see 
in the logs on the puppetmaster:

Dec 12 10:07:55 puppetserver puppetmasterd[23002]: Compiled catalog for 
rhea.mydomain in 8.66 seconds
Dec 12 10:08:02 puppetserver puppetmasterd[23002]: Report rrdgraph failed: 
Failed to update time: illegal attempt to update using time 1229094482 when 
last update time is 1229094482 (minimum one second step)

and the output of 'puppetd -vt' on the client has:

info: Retrieving plugins
info: Caching catalog at /var/lib/puppet/localconfig.yaml
notice: Starting catalog run
notice: //Node[rhea.mydomain]/sanity/File[/tmp/test]/mode: mode changed '744' 
to '644'
warning: Other end went away; restarting connection and retrying
info: Sent transaction report in 0.65 seconds
notice: Finished catalog run in 4.94 seconds

I get two emails for that alert instead of one.

If I change the order of the reports line in my puppetmaster's puppet.conf to:

reports = rrdgraph,tagmail

... the rrdgraph failure in the puppetmaster's logs goes away, the warning in 
the puppetd output goes away, and I get one email, as expected.


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://reductivelabs.com/redmine/my/account
--
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to [email protected].
For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to