[Pkg-puppet-devel] [SCM] Puppet packaging for Debian branch, experimental, updated. debian/2.6.8-1-844-g7ec39d5

Pieter van de Bruggen pieter at puppetlabs.com
Tue May 10 08:11:03 UTC 2011


The following commit has been merged in the experimental branch:
commit 8ddd9947382579082cc4554b332ca1ec62d94942
Author: Pieter van de Bruggen <pieter at puppetlabs.com>
Date:   Tue Apr 5 16:41:14 2011 -0700

    (#6982) Patch the Certificate String against (#5528).
    
    Reviewed-By: Matt Robinson

diff --git a/lib/puppet/string/certificate.rb b/lib/puppet/string/certificate.rb
index 7b72b11..b231caf 100644
--- a/lib/puppet/string/certificate.rb
+++ b/lib/puppet/string/certificate.rb
@@ -21,7 +21,9 @@ Puppet::String::Indirector.define(:certificate, '0.0.1') do
 
   action :sign do
     when_invoked do |name, options|
-      Puppet::SSL::Host.indirection.save(Puppet::SSL::Host.new(name))
+      host = Puppet::SSL::Host.new(name)
+      host.desired_state = 'signed'
+      Puppet::SSL::Host.indirection.save(host)
     end
   end
 

-- 
Puppet packaging for Debian



More information about the Pkg-puppet-devel mailing list