Issue #2441 has been updated by Luke Kanies. Status changed from Accepted to Ready for Testing
I have a working version in my tickets/master/2441 branch. You set the 'config_version' setting to a shell command that returns the value you want, and that value propagates all the way to the log instances in your reports. I've also added file and line information to those logs. Currently there's no way to include the information in the printing of the logs, but you're better off parsing the yaml file or writing a simple log processor than trying to parse the log message from syslog or something. I'll email the code tomorrow, hopefully; my network at home appears to be blocking port 25 or something. ---------------------------------------- Feature #2441: Configuration version information should propagate through to the logs http://projects.reductivelabs.com/issues/2441 Author: Luke Kanies Status: Ready for Testing Priority: Normal Assigned to: Luke Kanies Category: plumbing Target version: Complexity: Unknown Affected version: 0.24.8 Keywords: Puppet has internally supported the concept of a configuration version for a long time, but it has been completely unused. We should provide the ability to set that version information from external sources, like a version control repository, and it should propagate all the way to the log messages, so that people can correlate logs they receive in reports to the code that resulted in them. As with the #2440, this is a relatively small feature and someone has asked for it quite nicely, so it'd be nice to have this in 0.25, but only if others think so. This should eventually largely get displaced by better event management, but that's likely to wait until 0.26. -- 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 -~----------~----~----~----~------~----~------~--~---
