class Puppet::FileServing::Mount::Tasks

Public Instance Methods

find(path, request) click to toggle source
   # File lib/puppet/file_serving/mount/tasks.rb
 5 def find(path, request)
 6   raise _("No task specified") if path.to_s.empty?
 7   module_name, task_path = path.split("/", 2)
 8   mod = request.environment.module(module_name)
 9   return nil unless mod
10 
11   mod.task_file(task_path)
12 end
valid?() click to toggle source
   # File lib/puppet/file_serving/mount/tasks.rb
21 def valid?
22   true
23 end