mmrobins/mcollective-plugins — comment on commit f377aa64f4b1a6fc946a06a35428b3c802b46526
File: agent/puppetd/application/puppetd.rb line 112
By ripienaar:

Prior to this change the agent returned a human consumable string that completely described the current status. In this code we are having to prepend some text to it in the application to make it human consumable - line 108.

So if any other client like live management or the mco rpc application is used to interact with this agent there isnt a human consumable line that tells the whole story.

So the agent should return :output that includes your :status so you dont need to prepend it in the application.

Appologies I used the :statusmsg in my initial comment wrongly that probably confused matters. :statusmsg would be an error message when something went wrong - we should still keep showing that as your code path here does indeed do.