diff options
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/puppet/sslcertificates/inventory.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/puppet/sslcertificates/inventory.rb b/lib/puppet/sslcertificates/inventory.rb index f3f790906..4dbf60410 100644 --- a/lib/puppet/sslcertificates/inventory.rb +++ b/lib/puppet/sslcertificates/inventory.rb @@ -32,6 +32,7 @@ module Puppet::SSLCertificates end inv = File.open(filename, "w") inv.puts "# Inventory of signed certificates" + inv.puts "# SERIAL NOT_BEFORE _NOT_AFTER SUBJECT" Dir.glob(File::join(Puppet[:signeddir], "*.pem")) do |f| format(inv, OpenSSL::X509::Certificate.new(File::read(f))) end |
