# File lib/puppet/file_serving/mount/plugins.rb, line 16 16: def search(relative_path, request) 17: # We currently only support one kind of search on plugins - return 18: # them all. 19: paths = request.environment.modules.find_all { |mod| mod.plugins? }.collect { |mod| mod.plugin_directory } 20: return nil if paths.empty? 21: return paths 22: end