diff options
author | Markus Roberts <Markus@reality.com> | 2010-01-19 15:14:37 -0800 |
---|---|---|
committer | Markus Roberts <Markus@reality.com> | 2010-01-19 15:14:37 -0800 |
commit | d4319a5418ce84ac83f9137cf1b7255210833eb4 (patch) | |
tree | 8420a490107ab4bf5b67869c382999912e8e8be4 /spec/unit/util/autoload.rb | |
parent | cdcbdc78bc399a60afaf36b6267688e72081fb6e (diff) | |
download | puppet-d4319a5418ce84ac83f9137cf1b7255210833eb4.tar.gz puppet-d4319a5418ce84ac83f9137cf1b7255210833eb4.tar.xz puppet-d4319a5418ce84ac83f9137cf1b7255210833eb4.zip |
Minimal fix for #3001 (failing to fetch metadata on dangling symlink)
FileTest.exists? returns false if the target of a symlink is missing; in such
cases we still want to continue if the resource is a symlink, as we may be
managing a dangling symlink. Continuing in such case either gives the desired
behavior or a more specific/informative error message.
Diffstat (limited to 'spec/unit/util/autoload.rb')
0 files changed, 0 insertions, 0 deletions