[Pkg-puppet-devel] [SCM] Puppet packaging for Debian branch, upstream, updated. 0.25.5-639-g8f94f35
Jesse Wolfe
jes5199 at gmail.com
Wed Jul 14 10:35:57 UTC 2010
The following commit has been merged in the upstream branch:
commit e848d4104350543241fa1a84aa3eaaf3a27d2616
Author: Jesse Wolfe <jes5199 at gmail.com>
Date: Wed Jun 30 16:07:02 2010 -0700
[#3961] puppet cert --generate implies ca_location = :local
diff --git a/lib/puppet/application/cert.rb b/lib/puppet/application/cert.rb
index 68d1f78..acbafb2 100644
--- a/lib/puppet/application/cert.rb
+++ b/lib/puppet/application/cert.rb
@@ -70,7 +70,11 @@ class Puppet::Application::Cert < Puppet::Application
Puppet::Util::Log.newdestination :console
- Puppet::SSL::Host.ca_location = :only
+ if @cert_mode == :generate
+ Puppet::SSL::Host.ca_location = :local
+ else
+ Puppet::SSL::Host.ca_location = :only
+ end
begin
@ca = Puppet::SSL::CertificateAuthority.new
--
Puppet packaging for Debian
More information about the Pkg-puppet-devel
mailing list