This commit set should fix the bug, but in the course of fixing it was deemed easier to refactor than to find the bug in the existing code, especially since we could never actually reproduce it.
This commit set is really all about refactoring and adding tests, but it should also fix the bug. lib/puppet/type/file.rb | 128 +-------------------------------- lib/puppet/util/backups.rb | 86 ++++++++++++++++++++++ spec/integration/type/file.rb | 106 +++++++++++++++++++++++++++ spec/unit/util/backups.rb | 160 +++++++++++++++++++++++++++++++++++++++++ test/ral/type/file.rb | 119 ------------------------------ test/ral/type/filebucket.rb | 110 ---------------------------- 6 files changed, 355 insertions(+), 354 deletions(-) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Developers" 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-dev?hl=en -~----------~----~----~----~------~----~------~--~---
