diff options
author | Markus Roberts <Markus@reality.com> | 2010-01-01 23:28:19 -0800 |
---|---|---|
committer | James Turnbull <james@lovedthanlost.net> | 2010-01-02 19:51:06 +1100 |
commit | cbc2ef003d93e5162979cebc927b5d9a69397439 (patch) | |
tree | 84ac2d7ebe191bd34d45f0845bc9a0738931f331 /spec/unit/util/autoload.rb | |
parent | fd631b9945cf33a1e5af849900cf6219b050e321 (diff) | |
download | puppet-cbc2ef003d93e5162979cebc927b5d9a69397439.tar.gz puppet-cbc2ef003d93e5162979cebc927b5d9a69397439.tar.xz puppet-cbc2ef003d93e5162979cebc927b5d9a69397439.zip |
Partial rollback of refinements to fix for #2994
The fix for #2994 had been refined to only checksum links when @links was set
to :follow to make the tests pass, but this caused partial reintroduction of
the original issue since information about the source (the real file vs.
followed link distinction) isn't available client side and thus there are
paths on which @links winds up :managed when it had originally been :followed.
In these cases the checksum is needed but not produced.
Consequently, this patch relaxes the condition, and always tries to produce a
checksum, with a rescue guard to gracefully handle cases where this is not
possible (e.g. broken links).
Diffstat (limited to 'spec/unit/util/autoload.rb')
0 files changed, 0 insertions, 0 deletions