summaryrefslogtreecommitdiffstats
path: root/lib/puppet
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2008-10-08 22:03:22 -0500
committerLuke Kanies <luke@madstop.com>2008-10-08 22:03:22 -0500
commit53b7d42bb061ff1cfea3519179779a1cba2cf877 (patch)
tree4a6156ca94f381b6340b820700fecfb61c72b67b /lib/puppet
parent5ec6b0734d5656dbfcf89320d476e0aeeec500f5 (diff)
downloadpuppet-53b7d42bb061ff1cfea3519179779a1cba2cf877.tar.gz
puppet-53b7d42bb061ff1cfea3519179779a1cba2cf877.tar.xz
puppet-53b7d42bb061ff1cfea3519179779a1cba2cf877.zip
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 <luke@madstop.com>
Diffstat (limited to 'lib/puppet')
-rw-r--r--lib/puppet/network/handler/master.rb2
1 files changed, 1 insertions, 1 deletions
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 = {})