mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +00:00
Reintroduce the removed grains information.
Removed on4617a931be
and52be720d62
.
This commit is contained in:
parent
34ed606b0d
commit
960118df29
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user