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

Markus Roberts Markus at reality.com
Wed Jul 14 10:35:55 UTC 2010


The following commit has been merged in the upstream branch:
commit 9a94ee274c39c261cd49e688a7bd7ea0eb73af50
Author: Markus Roberts <Markus at reality.com>
Date:   Mon Jun 28 16:49:08 2010 -0700

    Fix for test ordering sporadic failure
    
    The spec/unit/provider/ssh_authorized_key/parsed_spec_spec.rb was trying to
    use Dir.tempdir but getting ours.

diff --git a/spec/unit/provider/ssh_authorized_key/parsed_spec_spec.rb b/spec/unit/provider/ssh_authorized_key/parsed_spec_spec.rb
index e60ba27..9fdd7f4 100755
--- a/spec/unit/provider/ssh_authorized_key/parsed_spec_spec.rb
+++ b/spec/unit/provider/ssh_authorized_key/parsed_spec_spec.rb
@@ -17,7 +17,7 @@ describe provider_class do
     before :each do
         @sshauthkey_class = Puppet::Type.type(:ssh_authorized_key)
         @provider = @sshauthkey_class.provider(:parsed)
-        @keyfile = File.join(tmpdir, 'authorized_keys')
+        @keyfile = File.join(Dir.tmpdir, 'authorized_keys')
         @provider.any_instance.stubs(:target).returns @keyfile
         @user = 'random_bob'
         Puppet::Util.stubs(:uid).with(@user).returns 12345

-- 
Puppet packaging for Debian



More information about the Pkg-puppet-devel mailing list