mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 01:18:58 +00:00
Change the default salt-call -g output to yaml
This commit is contained in:
parent
aad52f503b
commit
d7c5ee57c0
@ -58,7 +58,7 @@ class Caller(object):
|
||||
Print out the grains
|
||||
'''
|
||||
grains = salt.loader.grains(self.opts)
|
||||
printout = self._get_outputter()
|
||||
printout = self._get_outputter(out='yaml')
|
||||
# If --json-out is specified, pretty print it
|
||||
printout.indent = 2
|
||||
printout(grains)
|
||||
|
Loading…
Reference in New Issue
Block a user