Issue #4338 has been updated by James Turnbull.

Status changed from Unreviewed to Needs more information

I am confused - both of these messages currently do "OLD" to "NEW".  For 
example:

<pre>
return "content changed '#{currentvalue}' to '#{newvalue}'"
</pre>



----------------------------------------
Bug #4338: confusing logs when a file is replaced
http://projects.puppetlabs.com/issues/4338

Author: Alan Barrett
Status: Needs more information
Priority: Normal
Assigned to: 
Category: 
Target version: 
Affected version: 0.25.5
Keywords: 
Branch: 


When a file is replaced, the logs look like this:

<pre>
notice: //File[/tmp/example]/checksum: checksum changed 
'{md5}03b9e3de079048833a5464b926c52456' to 
'{md5}06312662dbb9c9f84adea238caa7ba4b'
info: //File[/tmp/example]: Filebucketed /tmp/example to puppet with sum 
06312662dbb9c9f84adea238caa7ba4b
notice: //File[/tmp/example]/content: content changed 
'{md5}06312662dbb9c9f84adea238caa7ba4b' to 
'{md5}03b9e3de079048833a5464b926c52456'
</pre>

It's "checksum changed '{md5}NEW' to '{md5}OLD'", and "content changed 
'{md5}OLD' to '{md5}NEW'".  I'd prefer both messages to report "OLD to NEW".


-- 
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://projects.puppetlabs.com/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