From cdcbc5bceb98a1edd6c9a2c5b7f21583cd3bd76f Mon Sep 17 00:00:00 2001 From: Luke Kanies Date: Mon, 1 Dec 2008 17:58:58 -0600 Subject: Fixing splaytime tests Signed-off-by: Luke Kanies --- lib/puppet/network/client/master.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/puppet/network/client/master.rb b/lib/puppet/network/client/master.rb index 073d2e229..4b0cfdae3 100644 --- a/lib/puppet/network/client/master.rb +++ b/lib/puppet/network/client/master.rb @@ -488,7 +488,7 @@ class Puppet::Network::Client::Master < Puppet::Network::Client return unless Puppet[:splay] return if splayed? - time = rand(Integer(Puppet[:splaylimit] + 1)) + time = rand(Integer(Puppet[:splaylimit]) + 1) Puppet.info "Sleeping for %s seconds (splay is enabled)" % time sleep(time) @splayed = true -- cgit