Class: Puppet::Util::AtFork::Noop

Inherits:
Object
  • Object
show all
Defined in:
lib/puppet/util/at_fork/noop.rb

Overview

A noop implementation of the Puppet::Util::AtFork handler

Class Method Summary collapse

Class Method Details

.childObject



17
18
# File 'lib/puppet/util/at_fork/noop.rb', line 17

def child
end

.newObject



6
7
8
9
# File 'lib/puppet/util/at_fork/noop.rb', line 6

def new
  # no need to instantiate every time, return the class object itself
  self
end

.parentObject



14
15
# File 'lib/puppet/util/at_fork/noop.rb', line 14

def parent
end

.prepareObject



11
12
# File 'lib/puppet/util/at_fork/noop.rb', line 11

def prepare
end