Sha256: 93793ed7f72849ac418840f0f87a2b27ca68470fd33a597b2672dda5b5cbb707

Contents?: true

Size: 1.82 KB

Versions: 150

Compression:

Stored size: 1.82 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

150 entries across 150 versions & 2 rubygems

Version Path
bolt-0.20.6 vendored/puppet/lib/puppet/face/certificate_revocation_list.rb
bolt-0.20.5 vendored/puppet/lib/puppet/face/certificate_revocation_list.rb
bolt-0.20.3 vendored/puppet/lib/puppet/face/certificate_revocation_list.rb
bolt-0.20.2 vendored/puppet/lib/puppet/face/certificate_revocation_list.rb
bolt-0.19.1 vendored/puppet/lib/puppet/face/certificate_revocation_list.rb
puppet-5.5.1 lib/puppet/face/certificate_revocation_list.rb
puppet-5.5.1-x86-mingw32 lib/puppet/face/certificate_revocation_list.rb
puppet-5.5.1-x64-mingw32 lib/puppet/face/certificate_revocation_list.rb
puppet-5.5.1-universal-darwin lib/puppet/face/certificate_revocation_list.rb
puppet-5.3.6 lib/puppet/face/certificate_revocation_list.rb
puppet-5.3.6-x86-mingw32 lib/puppet/face/certificate_revocation_list.rb
puppet-5.3.6-x64-mingw32 lib/puppet/face/certificate_revocation_list.rb
puppet-5.3.6-universal-darwin lib/puppet/face/certificate_revocation_list.rb
bolt-0.19.0 vendored/puppet/lib/puppet/face/certificate_revocation_list.rb
bolt-0.18.2 vendored/puppet/lib/puppet/face/certificate_revocation_list.rb
bolt-0.18.1 vendored/puppet/lib/puppet/face/certificate_revocation_list.rb
bolt-0.18.0 vendored/puppet/lib/puppet/face/certificate_revocation_list.rb
puppet-5.5.0 lib/puppet/face/certificate_revocation_list.rb
puppet-5.5.0-x86-mingw32 lib/puppet/face/certificate_revocation_list.rb
puppet-5.5.0-x64-mingw32 lib/puppet/face/certificate_revocation_list.rb