# File lib/puppet/network/client.rb, line 155 155: def start 156: # Create our timer. Puppet will handle observing it and such. 157: 158: timer = Puppet.newtimer( 159: 160: :interval => Puppet[:runinterval], 161: :tolerance => 1, 162: 163: :start? => true 164: ) do 165: begin 166: self.runnow if self.scheduled? 167: rescue => detail 168: puts detail.backtrace if Puppet[:trace] 169: Puppet.err "Could not run client; got otherwise uncaught exception: #{detail}" 170: end 171: end 172: 173: # Run once before we start following the timer 174: self.runnow 175: end