Add a way to selectively disable run_command
& co output to stdout
on bolt plan
#3301
Labels
Feature
New features and improvements.
Use Case
I followed the breadcrumbs and ended up looking at #2653 .
I have the following block of code as part of a plan to do some testing:
Problem is, I get all the output from
puppet
on stdout even though 95% of hosts should be "No change". This is very verbose and I'd like to be able to summarize the command. So capturing the output is good, displaying it by default is good, but having a way to not do it on arun_command
basis would be great.Describe the Solution You Would Like
A
_print
option onrun_command
& related, set totrue
by default. If set tofalse
, does not print to the CLI.Describe Alternatives You've Considered
Since we run puppet in test mode to get a clear output, we could do one run without test mode, one run in term mode for those who fail, but that seems overkill. Another option would be to disable showing the output by default, but in the grander picture, it doesn't seem like the best approach.
The text was updated successfully, but these errors were encountered: