# File lib/puppet/application/agent.rb, line 191
191:   def setup_host
192:     @host = Puppet::SSL::Host.new
193:     waitforcert = options[:waitforcert] || (Puppet[:onetime] ? 0 : 120)
194:     cert = @host.wait_for_cert(waitforcert) unless options[:fingerprint]
195:   end