From e15d316cbb9ee33bfbed4b29649f36a97490e985 Mon Sep 17 00:00:00 2001 From: Nigel Kersten Date: Wed, 3 Sep 2008 10:28:17 -0700 Subject: Fixes #1551 puppetmaster.freshness xmlrpc call returns incorrect type --- lib/puppet/network/handler/master.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/puppet/network/handler') diff --git a/lib/puppet/network/handler/master.rb b/lib/puppet/network/handler/master.rb index 9682c460e..05ae7b9a2 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). - Time.now + return 0 end def initialize(hash = {}) -- cgit