Sha256: 1bf41df4e9920cece59a03c6c5ad33e251bdf7fe098cf192d6185e093051c7b9
Contents?: true
Size: 483 Bytes
Versions: 148
Compression:
Stored size: 483 Bytes
Contents
require 'puppet/file_serving/mount' class Puppet::FileServing::Mount::Tasks < Puppet::FileServing::Mount def find(path, request) raise _("No task specified") if path.to_s.empty? module_name, task_path = path.split("/", 2) mod = request.environment.module(module_name) return nil unless mod mod.task_file(task_path) end def search(path, request) result = find(path, request) if result [result] end end def valid? true end end
Version data entries
148 entries across 148 versions & 1 rubygems