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

Version Path
puppet-6.29.0 lib/puppet/indirector/direct_file_server.rb
puppet-6.29.0-x86-mingw32 lib/puppet/indirector/direct_file_server.rb
puppet-6.29.0-x64-mingw32 lib/puppet/indirector/direct_file_server.rb
puppet-6.29.0-universal-darwin lib/puppet/indirector/direct_file_server.rb
puppet-6.28.0 lib/puppet/indirector/direct_file_server.rb
puppet-6.28.0-x86-mingw32 lib/puppet/indirector/direct_file_server.rb
puppet-6.28.0-x64-mingw32 lib/puppet/indirector/direct_file_server.rb
puppet-6.28.0-universal-darwin lib/puppet/indirector/direct_file_server.rb
puppet-6.27.0 lib/puppet/indirector/direct_file_server.rb
puppet-6.27.0-x86-mingw32 lib/puppet/indirector/direct_file_server.rb
puppet-6.27.0-x64-mingw32 lib/puppet/indirector/direct_file_server.rb
puppet-6.27.0-universal-darwin lib/puppet/indirector/direct_file_server.rb
puppet-6.26.0 lib/puppet/indirector/direct_file_server.rb
puppet-6.26.0-x86-mingw32 lib/puppet/indirector/direct_file_server.rb
puppet-6.26.0-x64-mingw32 lib/puppet/indirector/direct_file_server.rb
puppet-6.26.0-universal-darwin lib/puppet/indirector/direct_file_server.rb
puppet-6.25.1 lib/puppet/indirector/direct_file_server.rb
puppet-6.25.1-x86-mingw32 lib/puppet/indirector/direct_file_server.rb
puppet-6.25.1-x64-mingw32 lib/puppet/indirector/direct_file_server.rb
puppet-6.25.1-universal-darwin lib/puppet/indirector/direct_file_server.rb