Sha256: 061d4be530aaea0664336a5ac2792720057c44eb82ca0d4c6c39eb4261fa46d8

Contents?: true

Size: 393 Bytes

Versions: 63

Compression:

Stored size: 393 Bytes

Contents

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

class Puppet::SSL::Certificate::Rest < Puppet::Indirector::REST
  desc "Find and save certificates over HTTP via REST."

  use_server_setting(:ca_server)
  use_port_setting(:ca_port)

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

Version data entries

63 entries across 63 versions & 4 rubygems

Version Path
puppet-parse-0.1.4 lib/vendor/puppet/indirector/certificate/rest.rb
puppet-parse-0.1.3 lib/vendor/puppet/indirector/certificate/rest.rb
puppet-parse-0.1.2 lib/vendor/puppet/indirector/certificate/rest.rb
puppet-parse-0.1.1 lib/vendor/puppet/indirector/certificate/rest.rb
puppet-2.7.26 lib/puppet/indirector/certificate/rest.rb
puppet-2.7.25 lib/puppet/indirector/certificate/rest.rb
puppet-2.7.24 lib/puppet/indirector/certificate/rest.rb
puppet-2.7.23 lib/puppet/indirector/certificate/rest.rb
puppet-2.7.22 lib/puppet/indirector/certificate/rest.rb
puppet-parse-0.1.0 lib/vendor/puppet/indirector/certificate/rest.rb
puppet-parse-0.0.6 lib/vendor/puppet/indirector/certificate/rest.rb
puppet-2.7.21 lib/puppet/indirector/certificate/rest.rb
puppet-2.6.18 lib/puppet/indirector/certificate/rest.rb
puppet-parse-0.0.5 lib/vendor/puppet/indirector/certificate/rest.rb
puppet-parse-0.0.4 lib/vendor/puppet/indirector/certificate/rest.rb
puppet-parse-0.0.2 lib/vendor/puppet/indirector/certificate/rest.rb
puppet-2.7.20 lib/puppet/indirector/certificate/rest.rb
puppet-2.7.20.rc1 lib/puppet/indirector/certificate/rest.rb
librarian-puppet-0.9.4 vendor/gems/ruby/1.8/gems/puppet-2.7.18/lib/puppet/indirector/certificate/rest.rb
puppet-2.7.19 lib/puppet/indirector/certificate/rest.rb