summaryrefslogtreecommitdiffstats
path: root/lib/puppet/sslcertificates/ca.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/puppet/sslcertificates/ca.rb')
-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