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