Sha256: 3c1f81b25eddca29b7428263c5570ecb928c2f2d18265a3fc756fe0bb31979e3

Contents?: true

Size: 1.81 KB

Versions: 52

Compression:

Stored size: 1.81 KB

Contents

require 'puppet/indirector/face'

Puppet::Indirector::Face.define(:certificate_revocation_list, '0.0.1') do
  copyright "Puppet Inc.", 2011
  license   "Apache 2 license; see COPYING"

  summary "Manage the list of revoked certificates."
  description <<-EOT
    This subcommand is primarily for retrieving the certificate revocation
    list from the CA.
  EOT

  find = get_action(:find)
  find.summary "Retrieve the certificate revocation list."
  find.render_as = :s
  find.returns <<-EOT
    The certificate revocation list. When used from the Ruby API: returns an
    OpenSSL::X509::CRL object.
  EOT
  find.short_description <<-EOT
    Retrieves the certificate revocation list.
  EOT
  find.notes <<-EOT
    Although this action always returns the CRL from the specified terminus.
  EOT
  find.examples <<-EXAMPLES
    Retrieve a copy of the puppet master's CRL:

    $ puppet certificate_revocation_list find --terminus rest
  EXAMPLES

  destroy = get_action(:destroy)
  destroy.summary "Delete the certificate revocation list."
  destroy.arguments "<dummy_text>"
  destroy.returns "Nothing."
  destroy.description <<-EOT
    Deletes the certificate revocation list. This cannot be done over REST, but
    it is possible to delete the locally cached copy or the local CA's copy of
    the CRL.
  EOT
  destroy.short_description <<-EOT
    Deletes the certificate revocation list. This cannot be done over REST, but
    it is possible to delete the locally cached copy or the local CA's copy of
    the CRL. Due to a known bug, this action requires a dummy argument, the
    content of which is irrelevant.
  EOT
  destroy.notes <<-EOT
    Although this action always deletes the CRL from the specified terminus, it
    requires a dummy argument; this is a known bug.
  EOT

  deactivate_action(:search)
  deactivate_action(:save)

  deprecate
end

Version data entries

52 entries across 52 versions & 2 rubygems

Version Path
puppet-5.0.1 lib/puppet/face/certificate_revocation_list.rb
puppet-5.0.1-x86-mingw32 lib/puppet/face/certificate_revocation_list.rb
puppet-5.0.1-x64-mingw32 lib/puppet/face/certificate_revocation_list.rb
puppet-5.0.1-universal-darwin lib/puppet/face/certificate_revocation_list.rb
puppet-5.0.0 lib/puppet/face/certificate_revocation_list.rb
puppet-5.0.0-x86-mingw32 lib/puppet/face/certificate_revocation_list.rb
puppet-5.0.0-x64-mingw32 lib/puppet/face/certificate_revocation_list.rb
puppet-5.0.0-universal-darwin lib/puppet/face/certificate_revocation_list.rb
puppet-4.10.4 lib/puppet/face/certificate_revocation_list.rb
puppet-4.10.4-x86-mingw32 lib/puppet/face/certificate_revocation_list.rb
puppet-4.10.4-x64-mingw32 lib/puppet/face/certificate_revocation_list.rb
puppet-4.10.4-universal-darwin lib/puppet/face/certificate_revocation_list.rb