Sha256: 90f7b6715926a584022edf15b1c40e23b3a582d0df5fee631c0c230d3df52b63

Contents?: true

Size: 414 Bytes

Versions: 649

Compression:

Stored size: 414 Bytes

Contents

module Puppet::Scheduler
  require 'puppet/scheduler/job'
  require 'puppet/scheduler/splay_job'
  require 'puppet/scheduler/scheduler'
  require 'puppet/scheduler/timer'

  module_function

  def create_job(interval, splay=false, splay_limit=0, &block)
    if splay
      Puppet::Scheduler::SplayJob.new(interval, splay_limit, &block)
    else
      Puppet::Scheduler::Job.new(interval, &block)
    end
  end
end

Version data entries

649 entries across 649 versions & 3 rubygems

Version Path
puppet-3.3.0.rc2 lib/puppet/scheduler.rb
puppet-3.2.4 lib/puppet/scheduler.rb
puppet-3.2.3 lib/puppet/scheduler.rb
puppet-3.2.3.rc1 lib/puppet/scheduler.rb
puppet-3.2.2 lib/puppet/scheduler.rb
puppet-3.2.1 lib/puppet/scheduler.rb
puppet-3.2.1.rc1 lib/puppet/scheduler.rb
puppet-3.2.0.rc2 lib/puppet/scheduler.rb
puppet-3.2.0.rc1 lib/puppet/scheduler.rb