[Pkg-puppet-devel] [SCM] Puppet packaging for Debian branch, upstream, updated. 0.25.5-639-g8f94f35

test branch puppet-dev at googlegroups.com
Wed Jul 14 10:33:52 UTC 2010


The following commit has been merged in the upstream branch:
commit c338fef73a4d8d8dbd1500f0c6bb0e37c6eba8bb
Author: Jesse Wolfe <jes5199 at gmail.com>
Date:   Wed May 12 18:28:27 2010 -0700

    Feature #2935: Test for if we're "puppet cert"
    
    Fix breakage caused by changing the name of "puppetca"
    It's not clear to me what the ideal answer for this is: I don't think
    that "cert" should be a type of Puppet::Mode, so I'm not sure how to
    model it more intelligently than as the command-line name.
    
    Signed-off-by: Jesse Wolfe <jes5199 at gmail.com>

diff --git a/lib/puppet/sslcertificates/ca.rb b/lib/puppet/sslcertificates/ca.rb
index f6bcbc1..d4fc7b6 100644
--- a/lib/puppet/sslcertificates/ca.rb
+++ b/lib/puppet/sslcertificates/ca.rb
@@ -20,7 +20,7 @@ class Puppet::SSLCertificates::CA
 
             if FileTest.exists?(file)
                 begin
-                    if Puppet[:name] == "puppetca"
+                    if Puppet[:name] == "cert"
                         puts "Removing %s" % file
                     else
                         Puppet.info "Removing %s" % file

-- 
Puppet packaging for Debian



More information about the Pkg-puppet-devel mailing list