Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prior to this commit we were trying to use Pathname.realpath to find where a symlink points to. This throws a file not found when the symlink doesn't point at anything valid in the filesystem. This commit fixes that problem by only using File.readlink and not attempting to find the symlinked file relative to the module unpacking directory.
- Loading branch information
e76f2ef
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please use the Puppet FileSystem abstraction which works properly on Windows:
https://github.com/puppetlabs/puppet/blob/master/lib/puppet/file_system.rb#L255
e76f2ef
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Got it now, #3072