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.29.0 lib/puppet/indirector/certificate/rest.rb
puppet-6.29.0-x86-mingw32 lib/puppet/indirector/certificate/rest.rb
puppet-6.29.0-x64-mingw32 lib/puppet/indirector/certificate/rest.rb
puppet-6.29.0-universal-darwin lib/puppet/indirector/certificate/rest.rb
puppet-6.28.0 lib/puppet/indirector/certificate/rest.rb
puppet-6.28.0-x86-mingw32 lib/puppet/indirector/certificate/rest.rb
puppet-6.28.0-x64-mingw32 lib/puppet/indirector/certificate/rest.rb
puppet-6.28.0-universal-darwin lib/puppet/indirector/certificate/rest.rb
puppet-6.27.0 lib/puppet/indirector/certificate/rest.rb
puppet-6.27.0-x86-mingw32 lib/puppet/indirector/certificate/rest.rb
puppet-6.27.0-x64-mingw32 lib/puppet/indirector/certificate/rest.rb
puppet-6.27.0-universal-darwin lib/puppet/indirector/certificate/rest.rb
puppet-6.26.0 lib/puppet/indirector/certificate/rest.rb
puppet-6.26.0-x86-mingw32 lib/puppet/indirector/certificate/rest.rb
puppet-6.26.0-x64-mingw32 lib/puppet/indirector/certificate/rest.rb
puppet-6.26.0-universal-darwin lib/puppet/indirector/certificate/rest.rb
puppet-6.25.1 lib/puppet/indirector/certificate/rest.rb
puppet-6.25.1-x86-mingw32 lib/puppet/indirector/certificate/rest.rb
puppet-6.25.1-x64-mingw32 lib/puppet/indirector/certificate/rest.rb
puppet-6.25.1-universal-darwin lib/puppet/indirector/certificate/rest.rb