blob: d1687e6f0e81d0f94871eb57ab6cb912b81ccfca (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
require 'puppet/ssl/base'
# Manage certificates themselves.
class Puppet::SSL::Certificate < Puppet::SSL::Base
# This is defined from the base class
wraps OpenSSL::X509::Certificate
extend Puppet::Indirector
indirects :certificate, :terminus_class => :file
def generate
raise Puppet::DevError, "Cannot generate certificates directly; they must be generated during signing"
end
end
|