class Puppet::FileServing::Mount::Tasks

Public Instance Methods

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