summaryrefslogtreecommitdiffstats
path: root/lib/puppet/ssl/certificate_factory.rb
diff options
context:
space:
mode:
authorIan Taylor <ian@lorf.org>2009-06-05 12:39:04 -0400
committerJames Turnbull <james@lovedthanlost.net>2009-06-06 09:12:00 +1000
commit4f2c066a97e59a89df64af4b25beac6f3f0553c2 (patch)
tree126540beec3c65448e01e1b48d27275ec4ee6ea4 /lib/puppet/ssl/certificate_factory.rb
parent97e6975d69f239e24993315a25a3117b1daa48c3 (diff)
downloadpuppet-4f2c066a97e59a89df64af4b25beac6f3f0553c2.tar.gz
puppet-4f2c066a97e59a89df64af4b25beac6f3f0553c2.tar.xz
puppet-4f2c066a97e59a89df64af4b25beac6f3f0553c2.zip
Removed extra whitespace from end of lines
Diffstat (limited to 'lib/puppet/ssl/certificate_factory.rb')
-rw-r--r--lib/puppet/ssl/certificate_factory.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/puppet/ssl/certificate_factory.rb b/lib/puppet/ssl/certificate_factory.rb
index 41155fd41..73b8a54c3 100644
--- a/lib/puppet/ssl/certificate_factory.rb
+++ b/lib/puppet/ssl/certificate_factory.rb
@@ -12,7 +12,7 @@ class Puppet::SSL::CertificateFactory
}
attr_reader :name, :cert_type, :csr, :issuer, :serial
-
+
def initialize(cert_type, csr, issuer, serial)
@cert_type, @csr, @issuer, @serial = cert_type, csr, issuer, serial
@@ -77,7 +77,7 @@ class Puppet::SSL::CertificateFactory
@extensions << @ef.create_extension("authorityKeyIdentifier", "keyid:always,issuer:always") if @cert_type == :ca
end
- # TTL for new certificates in seconds. If config param :ca_ttl is set,
+ # TTL for new certificates in seconds. If config param :ca_ttl is set,
# use that, otherwise use :ca_days for backwards compatibility
def ttl
ttl = Puppet.settings[:ca_ttl]