Using the event bus

The event bus does not appear in the topology drawings because it is available anywhere inside of Salt, just by importing the salt.event library. It also has the ability to call out to other module types, using the reactor system. Reactors have access to execution, state, and runner modules.

Tip

You may be wondering why we didn't cover reactor modules in this book. In truth, there is no such thing as a reactor module. Reactors are written using standard SLS files, which can include extra functionality using the renderer system. For more thorough discussions on writing and using reactors, be sure to check out Mastering SaltStack, Joseph Hall, Packt Publishing.

Because the event bus is so ubiquitous, it can be a very powerful tool ...

Get Extending SaltStack now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.