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
supply_drop-0.11.0 examples/vendored-puppet/vendor/puppet-2.7.8/lib/puppet/indirector/certificate/rest.rb
librarian-puppet-0.9.3 vendor/gems/ruby/1.8/gems/puppet-2.7.18/lib/puppet/indirector/certificate/rest.rb
supply_drop-0.10.2 examples/vendored-puppet/vendor/puppet-2.7.8/lib/puppet/indirector/certificate/rest.rb
puppet-2.7.18 lib/puppet/indirector/certificate/rest.rb
puppet-2.6.17 lib/puppet/indirector/certificate/rest.rb
supply_drop-0.10.1 examples/vendored-puppet/vendor/puppet-2.7.8/lib/puppet/indirector/certificate/rest.rb
supply_drop-0.10.0 examples/vendored-puppet/vendor/puppet-2.7.8/lib/puppet/indirector/certificate/rest.rb
puppet-2.7.17 lib/puppet/indirector/certificate/rest.rb
puppet-2.7.16 lib/puppet/indirector/certificate/rest.rb
puppet-2.7.14 lib/puppet/indirector/certificate/rest.rb
puppet-2.6.16 lib/puppet/indirector/certificate/rest.rb
puppet-2.7.13 lib/puppet/indirector/certificate/rest.rb
puppet-2.6.15 lib/puppet/indirector/certificate/rest.rb
supply_drop-0.9.0 examples/vendored-puppet/vendor/puppet-2.7.8/lib/puppet/indirector/certificate/rest.rb
supply_drop-0.8.1 examples/vendored-puppet/vendor/puppet-2.7.8/lib/puppet/indirector/certificate/rest.rb
supply_drop-0.8.0 examples/vendored-puppet/vendor/puppet-2.7.8/lib/puppet/indirector/certificate/rest.rb
puppet-2.7.12 lib/puppet/indirector/certificate/rest.rb
puppet-2.7.11 lib/puppet/indirector/certificate/rest.rb
puppet-2.6.14 lib/puppet/indirector/certificate/rest.rb
supply_drop-0.7.0 examples/vendored-puppet/vendor/puppet-2.7.8/lib/puppet/indirector/certificate/rest.rb