Using the puppetd mcollective agent, we would like to kick off single
puppet runs. What we're hoping for is that we could take the output from
puppet, and return the results to the person running mc-puppetd. That's
possible now, but the results are pretty ugly (even when using
--color=false, to take out most of the odd control-characters).
In a perfect world, we could have three possible "verbosity" levels:
1) Only show errors (failures to compile the catalog, "fails", etc)
2) #1 + all changes (Anything "notice", in a normal --test run), but
without the diffs that you would normally get or anything "info" level.
3) The full output (What you get with --verbose now) including info
(loading custom facts, diffs to changed files, etc).
Does this sound reasonable? Is it currently possible (and if so,
pointers are welcome!)? If I could make my trained developer monkey do
the actual work, would patches implementing this be accepted?
Have a great day!