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-6.29.0 lib/puppet/scheduler.rb
puppet-6.29.0-x86-mingw32 lib/puppet/scheduler.rb
puppet-6.29.0-x64-mingw32 lib/puppet/scheduler.rb
puppet-6.29.0-universal-darwin lib/puppet/scheduler.rb
puppet-6.28.0 lib/puppet/scheduler.rb
puppet-6.28.0-x86-mingw32 lib/puppet/scheduler.rb
puppet-6.28.0-x64-mingw32 lib/puppet/scheduler.rb
puppet-6.28.0-universal-darwin lib/puppet/scheduler.rb
puppet-6.27.0 lib/puppet/scheduler.rb
puppet-6.27.0-x86-mingw32 lib/puppet/scheduler.rb
puppet-6.27.0-x64-mingw32 lib/puppet/scheduler.rb
puppet-6.27.0-universal-darwin lib/puppet/scheduler.rb
puppet-6.26.0 lib/puppet/scheduler.rb
puppet-6.26.0-x86-mingw32 lib/puppet/scheduler.rb
puppet-6.26.0-x64-mingw32 lib/puppet/scheduler.rb
puppet-6.26.0-universal-darwin lib/puppet/scheduler.rb
puppet-6.25.1 lib/puppet/scheduler.rb
puppet-6.25.1-x86-mingw32 lib/puppet/scheduler.rb
puppet-6.25.1-x64-mingw32 lib/puppet/scheduler.rb
puppet-6.25.1-universal-darwin lib/puppet/scheduler.rb