diff options
| author | Ian Taylor <ian@lorf.org> | 2009-06-05 12:39:04 -0400 |
|---|---|---|
| committer | James Turnbull <james@lovedthanlost.net> | 2009-06-06 09:12:00 +1000 |
| commit | 4f2c066a97e59a89df64af4b25beac6f3f0553c2 (patch) | |
| tree | 126540beec3c65448e01e1b48d27275ec4ee6ea4 /lib/puppet/ssl | |
| parent | 97e6975d69f239e24993315a25a3117b1daa48c3 (diff) | |
Removed extra whitespace from end of lines
Diffstat (limited to 'lib/puppet/ssl')
| -rw-r--r-- | lib/puppet/ssl/certificate_authority/interface.rb | 2 | ||||
| -rw-r--r-- | lib/puppet/ssl/certificate_factory.rb | 4 | ||||
| -rw-r--r-- | lib/puppet/ssl/host.rb | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/lib/puppet/ssl/certificate_authority/interface.rb b/lib/puppet/ssl/certificate_authority/interface.rb index b355e21f0..e4552950c 100644 --- a/lib/puppet/ssl/certificate_authority/interface.rb +++ b/lib/puppet/ssl/certificate_authority/interface.rb @@ -1,6 +1,6 @@ # This class is basically a hidden class that knows how to act # on the CA. It's only used by the 'puppetca' executable, and its -# job is to provide a CLI-like interface to the CA class. +# job is to provide a CLI-like interface to the CA class. class Puppet::SSL::CertificateAuthority::Interface INTERFACE_METHODS = [:destroy, :list, :revoke, :generate, :sign, :print, :verify] 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] diff --git a/lib/puppet/ssl/host.rb b/lib/puppet/ssl/host.rb index acd27edb6..29b947eea 100644 --- a/lib/puppet/ssl/host.rb +++ b/lib/puppet/ssl/host.rb @@ -253,7 +253,7 @@ class Puppet::SSL::Host if time < 1 puts "Exiting; no certificate found and waitforcert is disabled" - exit(1) + exit(1) end while true do |
