Issue #1610 has been reported by ohookins.
----------------------------------------
Feature #1610: Raise priority of Filebucket report items to "Notice" (was
"Info")
http://projects.reductivelabs.com/issues/show/1610
Author: ohookins
Status: Unreviewed
Priority: Normal
Assigned to:
Category:
Target version:
Complexity: Unknown
Affected version: 0.24.5
Keywords:
Here's the use case. If a file is replaced it's handy to know the md5 in the
filebucket to facilitate restoring files. I notice there are (at least) two
statements that are printed when a file is replaced:
Thu Sep 25 12:32:25 +1000 2008
//Node[ubuntu]/managed/ntp/File[/etc/ntp.conf]/source (notice): replacing from
source puppet:///ntp/etc/ntp.conf with
contents {md5}5afbb4500020de84057fced47a3c9be2
This occurs when there are no pre-existing state files on the machine. The md5
of the file that has been replaced is not mentioned (even if it has been
filebucketed).
Thu Sep 25 12:23:40 +1000 2008
//Node[ubuntu]/managed/ntp/File[/etc/ntp.conf]/checksum (notice): checksum
changed '{md5}5afbb4500020de84057fced47a3c9be2' to
'{md5}25d9159ddb0f10f39d4cd4fc2d3233d0'
This occurs when there is pre-existing state on the machine.
So if a machine has no pre-existing state but a file is replaced, without
running puppetd with --verbose (which we may not want to as it produces a lot
of extra information) we have no way of telling what the md5 of the replaced
file is (from the report) if we want to restore it. I thought about the
possibility of just printing the "checksum changed" statement but this may not
work easily.
Also, having a "checksum changed" does not inherently imply a backup was taken
of the replaced file at all, so may be misleading if it is printed all the time
hence wanting to print the Filebucketed statement at notice priority.
----------------------------------------
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
-~----------~----~----~----~------~----~------~--~---