summaryrefslogtreecommitdiffstats
path: root/lib/puppet/sslcertificates
diff options
context:
space:
mode:
authorluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2007-02-27 22:14:56 +0000
committerluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2007-02-27 22:14:56 +0000
commit672e281c62cdae3fc9e675b0850465c61cbff5df (patch)
tree1c9ec486150bbb8dfca9a774a746369496785233 /lib/puppet/sslcertificates
parent87f100aa6ffc3087028a956ab73e19daf8f27f52 (diff)
downloadpuppet-672e281c62cdae3fc9e675b0850465c61cbff5df.tar.gz
puppet-672e281c62cdae3fc9e675b0850465c61cbff5df.tar.xz
puppet-672e281c62cdae3fc9e675b0850465c61cbff5df.zip
Fixing #142. As expected, trivial.
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2232 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'lib/puppet/sslcertificates')
-rw-r--r--lib/puppet/sslcertificates/ca.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/puppet/sslcertificates/ca.rb b/lib/puppet/sslcertificates/ca.rb
index ea3822015..42ad57e48 100644
--- a/lib/puppet/sslcertificates/ca.rb
+++ b/lib/puppet/sslcertificates/ca.rb
@@ -243,6 +243,9 @@ class Puppet::SSLCertificates::CA
Puppet.config.write(:cacert) do |f|
f.puts @cert.to_pem
end
+ Puppet.config.write(:capub) do |f|
+ f.puts @cert.public_key
+ end
return cert
end