A runner to access data from the salt mine
salt.runners.mine.
get
(tgt, fun, tgt_type='glob')¶Gathers the data from the specified minions' mine, pass in the target, function to look up and the target type
CLI Example:
salt-run mine.get '*' network.interfaces
salt.runners.mine.
update
(tgt, tgt_type='glob', clear=False, mine_functions=None)¶New in version 2017.7.0.
Update the mine data on a certain group of minions.
glob
tgt
.False
False
(update).mine_functions
in the
minion/master config or pillar.CLI Example:
salt-run mine.update '*'
salt-run mine.update 'juniper-edges' tgt_type='nodegroup'