# File lib/puppet/agent/runner.rb, line 49 49: def run 50: if agent.running? 51: @status = "running" 52: return 53: end 54: 55: log_run() 56: 57: if background? 58: Thread.new { agent.run(options) } 59: else 60: agent.run(options) 61: end 62: 63: @status = "success" 64: end