Sha256: cf76dcc113522e88bf7f99361cc1dac57b4ec34adf815c1aa89f2733dc4b350d

Contents?: true

Size: 432 Bytes

Versions: 112

Compression:

Stored size: 432 Bytes

Contents

require 'puppet/ssl/certificate'
require 'puppet/indirector/rest'

# @deprecated
class Puppet::SSL::Certificate::Rest < Puppet::Indirector::REST
  desc "Find certificates over HTTP via REST."

  use_server_setting(:ca_server)
  use_port_setting(:ca_port)
  use_srv_service(:ca)

  def find(request)
    result = super
    return nil unless result
    result.name = request.key unless result.name == request.key
    result
  end
end

Version data entries

112 entries across 112 versions & 1 rubygems

Version Path
puppet-6.17.0 lib/puppet/indirector/certificate/rest.rb
puppet-6.17.0-x86-mingw32 lib/puppet/indirector/certificate/rest.rb
puppet-6.17.0-x64-mingw32 lib/puppet/indirector/certificate/rest.rb
puppet-6.17.0-universal-darwin lib/puppet/indirector/certificate/rest.rb
puppet-6.16.0 lib/puppet/indirector/certificate/rest.rb
puppet-6.16.0-x86-mingw32 lib/puppet/indirector/certificate/rest.rb
puppet-6.16.0-x64-mingw32 lib/puppet/indirector/certificate/rest.rb
puppet-6.16.0-universal-darwin lib/puppet/indirector/certificate/rest.rb
puppet-6.15.0 lib/puppet/indirector/certificate/rest.rb
puppet-6.15.0-x86-mingw32 lib/puppet/indirector/certificate/rest.rb
puppet-6.15.0-x64-mingw32 lib/puppet/indirector/certificate/rest.rb
puppet-6.15.0-universal-darwin lib/puppet/indirector/certificate/rest.rb
puppet-6.14.0 lib/puppet/indirector/certificate/rest.rb
puppet-6.14.0-x86-mingw32 lib/puppet/indirector/certificate/rest.rb
puppet-6.14.0-x64-mingw32 lib/puppet/indirector/certificate/rest.rb
puppet-6.14.0-universal-darwin lib/puppet/indirector/certificate/rest.rb
puppet-6.13.0 lib/puppet/indirector/certificate/rest.rb
puppet-6.13.0-x86-mingw32 lib/puppet/indirector/certificate/rest.rb
puppet-6.13.0-x64-mingw32 lib/puppet/indirector/certificate/rest.rb
puppet-6.13.0-universal-darwin lib/puppet/indirector/certificate/rest.rb