# File lib/puppet/file_serving/mount/file.rb, line 18
18:   def complete_path(relative_path, node)
19:     full_path = path(node)
20: 
21:     raise ArgumentError.new("Mounts without paths are not usable") unless full_path
22: 
23:     # If there's no relative path name, then we're serving the mount itself.
24:     return full_path unless relative_path
25: 
26:     file = ::File.join(full_path, relative_path)
27: 
28:     if !(FileTest.exist?(file) or FileTest.symlink?(file))
29:       Puppet.info("File does not exist or is not accessible: #{file}")
30:       return nil
31:     end
32: 
33:     file
34:   end