From 42247f0f5d08bce4d3fd2b020b770a12cc2f91db Mon Sep 17 00:00:00 2001 From: Luke Kanies Date: Mon, 1 Jun 2009 21:31:49 -0500 Subject: Fixing #2315 - ca --generate works again Signed-off-by: Luke Kanies --- lib/puppet/indirector/key/ca.rb | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'lib') diff --git a/lib/puppet/indirector/key/ca.rb b/lib/puppet/indirector/key/ca.rb index 3604de22b..62dd77589 100644 --- a/lib/puppet/indirector/key/ca.rb +++ b/lib/puppet/indirector/key/ca.rb @@ -6,15 +6,7 @@ class Puppet::SSL::Key::Ca < Puppet::Indirector::SslFile with the CA key, because that's the only key that the CA ever interacts with." - # This is just to pass the validation in the base class. Eh. - store_at :cakey + store_in :privatekeydir store_ca_at :cakey - - def path(name) - unless ca?(name) - raise ArgumentError, "The :ca terminus can only handle the CA private key" - end - super - end end -- cgit