Method: Puppet::Scheduler::SplayJob#interval_to_next_from

Defined in:
lib/puppet/scheduler/splay_job.rb

#interval_to_next_from(time) ⇒ Object



12
13
14
15
16
17
18
# File 'lib/puppet/scheduler/splay_job.rb', line 12

def interval_to_next_from(time)
  if last_run
    super
  else
    (start_time + splay) - time
  end
end