Issue #1491 has been updated by jamtur01.
I can't replicate this and can't see how it could be happening - this is the
splay method:
<pre>
def splay
return unless Puppet[:splay]
limit = Integer(Puppet[:splaylimit])
# Pick a splay time and then cache it.
unless time = Puppet::Util::Storage.cache(:configuration)[:splay_tim
e]
time = rand(limit)
Puppet::Util::Storage.cache(:configuration)[:splay_time] = time
end
Puppet.info "Sleeping for %s seconds (splay is enabled)" % time
sleep(time)
end
</pre>
That would seem to work to me...?
----------------------------------------
Feature #1491: Splay doubles runinterval
http://reductivelabs.com/redmine/issues/show/1491
Author: tstoop
Status: Accepted
Priority: Normal
Assigned to:
Category:
Target version: 0.24.6
Complexity: Unknown
Affected version: 0.24.5
Keywords:
Not sure if this is a bug or not, so making it a feature request.
At the moment, when you use splay, the splay seems to get added every time.
This in effect doubles the runinterval. In our setup we use the default
runinterval and puppetd runs once every hour. We expected it to run every 1800
seconds, since that's what the runinterval is set for.
What we expected from splay is that it waited for a random amount of seconds
(between 0 and $runinterval) when started and after that simply use the
runinterval setting. This would seem more consistent with it's intentions. Now
it seems to change the definition of runinterval.
Let me know if I failed in explaining this correctly.
----------------------------------------
You have received this notification because you have either subscribed to it,
or are involved in it.
To change your notification preferences, please click here:
http://reductivelabs.com/redmine/my/account
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Puppet Bugs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/puppet-bugs?hl=en
-~----------~----~----~----~------~----~------~--~---