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 trim_output (as implemented in archive.extracted) on cmd.run #42844

Open
arthurzenika opened this issue Aug 10, 2017 · 7 comments
Open

add trim_output (as implemented in archive.extracted) on cmd.run #42844

arthurzenika opened this issue Aug 10, 2017 · 7 comments
Labels
Core relates to code central or existential to Salt Execution-Module Feature new functionality including changes to functionality and code refactors, etc. State-Module
Milestone

Comments

@arthurzenika
Copy link
Contributor

Description of Issue/Question

I've started using trim_output on archive.extracted (https://docs.saltstack.com/en/latest/ref/states/all/salt.states.archive.html) recently and found the feature very nice.

It would be awesome to have the same feature on cmd.run (and cmd.wait I guess), so that we can trim long output from stdout.

Versions Report

This is a feature request, not a bug, current version of salt is 2017.7.0 (Nitrogen)

@Ch3LL
Copy link
Contributor

Ch3LL commented Aug 10, 2017

Sounds like a good idea. Maybe choose how many lines of output you would want to include. Will approve as a feature request

@Ch3LL Ch3LL added Core relates to code central or existential to Salt Feature new functionality including changes to functionality and code refactors, etc. Execution-Module labels Aug 10, 2017
@Ch3LL Ch3LL added this to the Approved milestone Aug 10, 2017
@stale
Copy link

stale bot commented Dec 3, 2018

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

If this issue is closed prematurely, please leave a comment and we will gladly reopen the issue.

@stale stale bot added the stale label Dec 3, 2018
@stale stale bot closed this as completed Dec 11, 2018
@arthurzenika
Copy link
Contributor Author

still needed

@Ch3LL Ch3LL reopened this Dec 11, 2018
@stale
Copy link

stale bot commented Dec 11, 2018

Thank you for updating this issue. It is no longer marked as stale.

@stale stale bot removed the stale label Dec 11, 2018
@stale
Copy link

stale bot commented Jan 9, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

If this issue is closed prematurely, please leave a comment and we will gladly reopen the issue.

@stale stale bot added the stale label Jan 9, 2020
@arthurzenika
Copy link
Contributor Author

up

@stale
Copy link

stale bot commented Jan 9, 2020

Thank you for updating this issue. It is no longer marked as stale.

@stale stale bot removed the stale label Jan 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Core relates to code central or existential to Salt Execution-Module Feature new functionality including changes to functionality and code refactors, etc. State-Module
2 participants