[Pkg-puppet-devel] [SCM] Puppet packaging for Debian branch, master, updated. 90c4a6028cf6ebd530af736ce08f1b413698b162

Micah Anderson micah at riseup.net
Sat May 31 17:15:34 UTC 2008


The following commit has been merged in the master branch:
commit 5e48d60bc75fd164c6cbb0e4d55f953fc0f48d1e
Author: Luke Kanies <luke at madstop.com>
Date:   Sun May 25 16:01:26 2008 -0500

    Fixing #1247 -- no more clear_cache failures.
    
    I had clearly only run spec/ since this work.

diff --git a/test/lib/puppettest.rb b/test/lib/puppettest.rb
index 63f8121..a32ded3 100755
--- a/test/lib/puppettest.rb
+++ b/test/lib/puppettest.rb
@@ -302,7 +302,7 @@ module PuppetTest
         Puppet::Util::Storage.clear
         Puppet.clear
         Puppet.settings.clear
-        Puppet::Indirector::Indirection.clear_cache
+        Puppet::Util::Cacher.invalidate
 
         @memoryatend = Puppet::Util.memory
         diff = @memoryatend - @memoryatstart
diff --git a/test/network/handler/master.rb b/test/network/handler/master.rb
index 5552223..e14c930 100755
--- a/test/network/handler/master.rb
+++ b/test/network/handler/master.rb
@@ -10,7 +10,7 @@ class TestMaster < Test::Unit::TestCase
 
     def teardown
         super
-        Puppet::Indirector::Indirection.clear_cache
+        Puppet::Util::Cacher.invalidate
     end
 
     # Make sure that files are reread when they change.

-- 
Puppet packaging for Debian



More information about the Pkg-puppet-devel mailing list