Last, but not least, I want to talk to you about the test module. The test module will allow us to test our SaltStack platform. Things such as checking the health status of minions, the Salt version that they are running, and even just making them send an echo, are possible with the test module.
Different functions of the test module can be found with the sys.list_functions function, but it is worth mentioning some of the most common ones that you might use very frequently:
- ping: The ping function tests for a response from the minions; this is not an ICMP ping command.
- version: Returns Salt's version of your minions.
- versions_information: Returns a full list of all of Salt's dependencies, kernel version, distribution version, and Salt version.