Method: Puppet::Agent#initialize

Defined in:
lib/puppet/agent.rb

#initialize(client_class, should_fork = true) ⇒ Agent

Returns a new instance of Agent.



25
26
27
28
# File 'lib/puppet/agent.rb', line 25

def initialize(client_class, should_fork=true)
  @should_fork = can_fork? && should_fork
  @client_class = client_class
end