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

Daniel Pittman daniel at puppetlabs.com
Tue May 10 08:11:11 UTC 2011


The following commit has been merged in the experimental branch:
commit 27bd1adb7cc43bfdeb8fb941418cfce3a7f694ef
Author: Daniel Pittman <daniel at puppetlabs.com>
Date:   Tue Apr 5 19:08:54 2011 -0700

    (#6983) mark test pending until string is fixed...
    
    The certificate string is broken, and won't allow you to either search or save
    certificates.  Given that, mark the test on it broken until that is completed.
    
    Reviewed-By: Dan Bode <dan at puppetlabs.com>

diff --git a/lib/puppet/string/certificate.rb b/lib/puppet/string/certificate.rb
index fdb0bc9..e8773ae 100644
--- a/lib/puppet/string/certificate.rb
+++ b/lib/puppet/string/certificate.rb
@@ -43,5 +43,4 @@ Puppet::String::Indirector.define(:certificate, '0.0.1') do
       Puppet::SSL::Host.indirection.save(host)
     end
   end
-
 end
diff --git a/spec/unit/string/certificate_spec.rb b/spec/unit/string/certificate_spec.rb
index 4afd581..9fdc5aa 100755
--- a/spec/unit/string/certificate_spec.rb
+++ b/spec/unit/string/certificate_spec.rb
@@ -6,9 +6,9 @@ describe Puppet::String[:certificate, '0.0.1'] do
   end
 
   it "should set the ca location when invoked" do
-    pending "The string itself is broken in this release."
+    pending "#6983: This is broken in the actual string..."
     Puppet::SSL::Host.expects(:ca_location=).with(:foo)
-    Puppet::SSL::Host.indirection.expects(:search)
-    subject.list :ca_location => :foo
+    Puppet::SSL::Host.indirection.expects(:save)
+    subject.sign :ca_location => :foo
   end
 end

-- 
Puppet packaging for Debian



More information about the Pkg-puppet-devel mailing list