Module to provide information about minions
salt.modules.minion.
kill
()¶Kill the salt minion.
If you have a monitor that restarts salt-minion
when it dies then this is
a great way to restart after a minion upgrade.
CLI example:
>$ salt minion[12] minion.kill
minion1:
----------
killed:
7874
minion2:
----------
killed:
29071
The result of the salt command shows the process ID of the minions that were
successfully killed - in this case they were 7874
and 29071
.
salt.modules.minion.
list
()¶Return a list of accepted, denied, unaccepted and rejected keys. This is the same output as salt-key -L
CLI Example:
salt 'master' minion.list