Created
May 16, 2017 18:36
-
-
Save anonymous/66199ba32bef396b509e2a88200b0680 to your computer and use it in GitHub Desktop.
salt no_out failure?
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
vagrantsm ~ # salt 'vagrantminion*' test.ping | |
vagrantminion: | |
True | |
vagrantsm ~ # salt 'vagrantminion*' test.ping --out=no_out | |
[ERROR ] Invalid outputter no_out specified, fall back to nested | |
vagrantminion: | |
True | |
vagrantsm ~ # cat /usr/lib/python2.7/site-packages/salt/output/no_out.py | |
# -*- coding: utf-8 -*- | |
''' | |
Display no output | |
================= | |
No output is produced when this outputter is selected | |
''' | |
# Define the module's virtual name | |
__virtualname__ = 'quiet' | |
def __virtual__(): | |
return __virtualname__ | |
def output(ret): | |
''' | |
Don't display data. Used when you only are interested in the | |
return. | |
''' | |
return '' | |
vagrantsm ~ # salt 'vagrantminion*' test.ping --out=quiet | |
vagrantsm ~ # |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment