Looking at the event system
The event system is one of the oldest components of Salt. Yet, it is now used more than almost any other part. Most of its usage is internal to Salt, but don't worry because there are plenty of functionalities that we can take advantage of as users and administrators.
Reviewing the basics
Salt is built based on a message queue. Commands that are issued from the master generate jobs, which are posted to the queue. Minions watch the queue for anything that targets them. When a minion picks up a job, it attempts to perform the work associated with it. Once it has finished, it posts the return data back to another queue; this is the one that the master listens to.
Minions also have the ability to fire information that is not associated with a job that was generated on the master. These pieces of information form the basis of the event bus.
There are in fact two event buses: one for minions to communicate with themselves (but not with other minions) and one for...