Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add hide_output option to cmd state/exec module #44840

Merged
merged 4 commits into from
Dec 8, 2017

Conversation

terminalmage
Copy link
Contributor

We have output_loglevel for controlling logging, but no corresponding option to suppress the output from the command from being returned. This adds a hide_output option to do that.

Additionally, this removes the rest of the references to the long-since-deprecated quiet argument from the cmd execution module, and adds a warning to states which use this argument. quiet appears to have been incompletely removed following its deprecation. It was not being passed to _check_loglevel(), so it was essentially ignored, but it was still being accepted as an argument by several functions. Those references to what has for some time now been a no-op argument are now removed.

Resolves #30842.

We have `output_loglevel` for controlling logging, but no corresponding
option to suppress the output from the command from being returned. This
adds a `hide_output` option to do that.

Additionally, this removes the rest of the references to the
long-since-deprecated `quiet` argument from the cmd execution module,
and adds a warning to states which use this argument. `quiet` appears to
have been incompletely removed following its deprecation. It was not
being passed to _check_loglevel(), so it was essentially ignored, but it
was still being accepted as an argument by several functions. Those
references to what has for some time now been a no-op argument are now
removed.
@rallytime
Copy link
Contributor

re-run centos

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants