salt.output.grains

Special outputter for grains

This outputter is a more condensed version of the nested outputter, used by default to display grains when the following functions are invoked:

Example output:

myminion:
  dictionary: {'abc': 123, 'def': 456}
  list:
      Hello
      World
  bar: baz
salt.output.grains.output(grains)

Output the grains in a clean way