Issue #2441 has been updated by Jeff McCune.

Luke Kanies wrote:
> I think there's confusion on desired behaviour here - the version should only 
> get recalculated when the configurations are reparsed, not just when they're 
> recompiled.  At least, that's how I've coded it.
> 
> In other words, I'm assuming that we're looking at the version for the parsed 
> files in memory, and that that version will only change when the files on 
> disk change.
> 
> Try touching your manifest (to force a reparse) in between client parses to 
> verify that you're getting different config versions between parses.
> 
> If that's not the behaviour you wanted, then I can pretty easily change it, 
> but this seems like the right behaviour to me.

If I touch site.pp, the config_version script is refreshed.

We need to capture the version of more than just the manifest files though.  
For example, if I change a file served by the fileserver, a template file, a 
plugin, or the puppet configuration files themselves without making a change to 
the manifest files, these will all be contained as new commits in our revision 
control system.

As coded, were I to change a file served by the fileserver or a template 
without changing a *.pp file, would the config_version be refreshed?
----------------------------------------
Feature #2441: Configuration version information should propagate through to 
the logs
http://projects.reductivelabs.com/issues/2441

Author: Luke Kanies
Status: Re-opened
Priority: High
Assigned to: Jeff McCune
Category: plumbing
Target version: 0.25.0
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to