Sha256: ec1a5052ee75fd7746a7c7d10177b027e47a05a0c5cb1e6b4935685ff9104879
Contents?: true
Size: 468 Bytes
Versions: 559
Compression:
Stored size: 468 Bytes
Contents
require 'puppet/file_serving/terminus_helper' require 'puppet/indirector/terminus' class Puppet::Indirector::DirectFileServer < Puppet::Indirector::Terminus include Puppet::FileServing::TerminusHelper def find(request) return nil unless Puppet::FileSystem.exist?(request.key) path2instance(request, request.key) end def search(request) return nil unless Puppet::FileSystem.exist?(request.key) path2instances(request, request.key) end end
Version data entries
559 entries across 559 versions & 3 rubygems