diff options
author | Luke Kanies <luke@madstop.com> | 2008-12-01 17:58:58 -0600 |
---|---|---|
committer | Luke Kanies <luke@madstop.com> | 2008-12-01 18:04:10 -0600 |
commit | cdcbc5bceb98a1edd6c9a2c5b7f21583cd3bd76f (patch) | |
tree | cb64f4ebd3e64b99bd7ce886738f1c7cb7aa749b /lib | |
parent | 6a4c0d52bf4a1314bb7f2fcf9ecb409fdeab8226 (diff) | |
download | puppet-cdcbc5bceb98a1edd6c9a2c5b7f21583cd3bd76f.tar.gz puppet-cdcbc5bceb98a1edd6c9a2c5b7f21583cd3bd76f.tar.xz puppet-cdcbc5bceb98a1edd6c9a2c5b7f21583cd3bd76f.zip |
Fixing splaytime tests
Signed-off-by: Luke Kanies <luke@madstop.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/puppet/network/client/master.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |