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


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

def child
end

.newObject


4
5
6
7
# File 'lib/puppet/util/at_fork/noop.rb', line 4

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

  self
end

.parentObject


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

def parent
end

.prepareObject


9
10
# File 'lib/puppet/util/at_fork/noop.rb', line 9

def prepare
end