Reintroduce the removed grains information.

Removed on 4617a931be and 52be720d62.
This commit is contained in:
Pedro Algarvio 2013-11-08 19:50:38 +00:00
parent 34ed606b0d
commit 960118df29

View File

@ -278,8 +278,10 @@ class TestDaemon(object):
'~~~~~~~ Minion Grains Information ', inline=True,
)
grains = self.client.cmd('minion', 'grains.items')
import pprint
pprint.pprint(grains['minion'])
minion_opts = self.minion_opts.copy()
minion_opts['color'] = self.parser.options.no_colors is False
salt.output.display_output(grains, 'grains', minion_opts)
print_header('', sep='=', inline=True)