Skip to content

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

@arthurzenika

Description

@arthurzenika

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Corerelates to code central or existential to SaltExecution-ModuleFeaturenew functionality including changes to functionality and code refactors, etc.State-Module

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions