lib/puppet/indirector/certificate_request/ca.rb in puppet-0.25.5 vs lib/puppet/indirector/certificate_request/ca.rb in puppet-2.6.0
- old
+ new
@@ -1,14 +1,14 @@
require 'puppet/indirector/ssl_file'
require 'puppet/ssl/certificate_request'
class Puppet::SSL::CertificateRequest::Ca < Puppet::Indirector::SslFile
- desc "Manage the CA collection of certificate requests on disk."
+ desc "Manage the CA collection of certificate requests on disk."
- store_in :csrdir
+ store_in :csrdir
- def save(request)
- result = super
- Puppet.notice "%s has a waiting certificate request" % request.key
- result
- end
+ def save(request)
+ result = super
+ Puppet.notice "#{request.key} has a waiting certificate request"
+ result
+ end
end