# File lib/puppet/network/handler/fileserver.rb, line 476
476:             def file_path(relative_path, node = nil)
477:                 full_path = path(node)
478: 
479:                 unless full_path
480:                     p self
481:                     raise ArgumentError.new("Mounts without paths are not usable") unless full_path
482:                 end
483: 
484:                 # If there's no relative path name, then we're serving the mount itself.
485:                 return full_path unless relative_path and relative_path != "/"
486: 
487:                 return File.join(full_path, relative_path)
488:             end