diff options
Diffstat (limited to 'lib/puppet/ssl/certificate.rb')
-rw-r--r-- | lib/puppet/ssl/certificate.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/puppet/ssl/certificate.rb b/lib/puppet/ssl/certificate.rb index 16af85d06..82f251d9c 100644 --- a/lib/puppet/ssl/certificate.rb +++ b/lib/puppet/ssl/certificate.rb @@ -12,6 +12,12 @@ class Puppet::SSL::Certificate < Puppet::SSL::Base extend Puppet::Indirector indirects :certificate, :terminus_class => :file + # Because of how the format handler class is included, this + # can't be in the base class. + def self.supported_formats + [:str] + end + def expiration return nil unless content return content.not_after |