# File lib/puppet/network/handler/fileserver.rb, line 452 452: def file_path(relative_path, node = nil) 453: full_path = path(node) 454: 455: unless full_path 456: p self 457: raise ArgumentError.new("Mounts without paths are not usable") unless full_path 458: end 459: 460: # If there's no relative path name, then we're serving the mount itself. 461: return full_path unless relative_path and relative_path != "/" 462: 463: File.join(full_path, relative_path) 464: end