From 53b7d42bb061ff1cfea3519179779a1cba2cf877 Mon Sep 17 00:00:00 2001 From: Luke Kanies Date: Wed, 8 Oct 2008 22:03:22 -0500 Subject: Fixing the broken tests resulting from the fix for #1551. The test was expecting the current time, albeit as an integer. Signed-off-by: Luke Kanies --- lib/puppet/network/handler/master.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/puppet/network/handler/master.rb b/lib/puppet/network/handler/master.rb index 05ae7b9a2..71b633a09 100644 --- a/lib/puppet/network/handler/master.rb +++ b/lib/puppet/network/handler/master.rb @@ -24,7 +24,7 @@ class Puppet::Network::Handler # Tell a client whether there's a fresh config for it def freshness(client = nil, clientip = nil) # Always force a recompile. Newer clients shouldn't do this (as of April 2008). - return 0 + return Time.now.to_i end def initialize(hash = {}) -- cgit