Sha256: 70239acf0b62348296c6050fcd0809217e0e1c324a5792b68e1857d66b325602
Contents?: true
Size: 501 Bytes
Versions: 120
Compression:
Stored size: 501 Bytes
Contents
require_relative '../../../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
120 entries across 120 versions & 1 rubygems