summaryrefslogtreecommitdiffstats
path: root/lib/puppet/indirector/certificate_request
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2008-03-19 23:46:43 -0500
committerLuke Kanies <luke@madstop.com>2008-04-15 21:34:06 -0500
commitb9d647974915da05af8036933e71bc1e6dc00374 (patch)
tree61f4968c292a364978f8681bfccbd1730e6ab8cd /lib/puppet/indirector/certificate_request
parent1efed0304ebdc13a55eb2d865cdc4965c5253d3a (diff)
downloadpuppet-b9d647974915da05af8036933e71bc1e6dc00374.tar.gz
puppet-b9d647974915da05af8036933e71bc1e6dc00374.tar.xz
puppet-b9d647974915da05af8036933e71bc1e6dc00374.zip
We have a basically functional CA -- it can sign
requests and return certificates. There's still plenty more work to do, but I'm probably not much more than a day away from redoing puppetca to use this code.
Diffstat (limited to 'lib/puppet/indirector/certificate_request')
-rw-r--r--lib/puppet/indirector/certificate_request/ca_file.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/puppet/indirector/certificate_request/ca_file.rb b/lib/puppet/indirector/certificate_request/ca_file.rb
index 08aa73eaf..24c262ef3 100644
--- a/lib/puppet/indirector/certificate_request/ca_file.rb
+++ b/lib/puppet/indirector/certificate_request/ca_file.rb
@@ -5,4 +5,10 @@ class Puppet::SSL::CertificateRequest::CaFile < Puppet::Indirector::SslFile
desc "Manage the CA collection of certificate requests on disk."
store_in :csrdir
+
+ def save(instance, *args)
+ result = super
+ Puppet.notice "%s has a waiting certificate request" % instance.name
+ result
+ end
end