saltstack/salt — pull request #16009 by bechtoldt (2014-09-21 19:10:53+00:00)
Title: Add param outputter to cache runner functions to specify salt.output

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', ...}}
```

See also #9444.