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 param outputter to cache runner functions to specify salt.output #16009

Merged
merged 1 commit into from
Sep 22, 2014

Conversation

arnisoph
Copy link
Contributor

This should be seen as a not-so-ugly workaround until --out arrives for all runners and doesn't change default behavior.

Example:

# salt-run cache.grains minion.domain.de
minion.domain.de:
    ----------
    SSDs:
    biosreleasedate:
        01/01/2011
    biosversion:
        Bochs
    cpu_flags:
        - fpu
        - de
        - pse
        - tsc
        - msr
        - pae
        - mce
        - cx8
[...]
# salt-run cache.grains minion.domain.de outputter=raw
{'minion.domain.de': {'biosversion': 'Bochs', 'kernel': 'Linux', ...}}

Working around #9444.

@ghost
Copy link

ghost commented Sep 21, 2014

Test PASSed.
Refer to this link for build results: http://jenkins.saltstack.com/job/salt-pr-build/8247/

thatch45 added a commit that referenced this pull request Sep 22, 2014
Add param outputter to cache runner functions to specify salt.output
@thatch45 thatch45 merged commit 6d52035 into saltstack:develop Sep 22, 2014
@thatch45
Copy link
Contributor

I guess, we really need to fix up the runner system to be entirely event bus powered, then it will be truly async and the outputter thing will work, I need to get that on the list for Lithium

@arnisoph arnisoph deleted the runners_manage_output_format branch September 22, 2014 17:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants