summaryrefslogtreecommitdiffstats
path: root/spec/unit/util/autoload.rb
diff options
context:
space:
mode:
authorMarkus Roberts <Markus@reality.com>2010-01-19 15:14:37 -0800
committerMarkus Roberts <Markus@reality.com>2010-01-19 15:14:37 -0800
commitd4319a5418ce84ac83f9137cf1b7255210833eb4 (patch)
tree8420a490107ab4bf5b67869c382999912e8e8be4 /spec/unit/util/autoload.rb
parentcdcbdc78bc399a60afaf36b6267688e72081fb6e (diff)
downloadpuppet-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