Chapter 8. The Reactor and the Event System
In the previous chapter, you learned how to use
salt-cloud to manage your cloud VMs.
In this chapter, you are going to learn how to make your infrastructure reactive and self-healing using events and the reactor in Salt.
You'll learn about the following things:
- The event system built into Salt
- How to fire events, both from Salt and from third-party applications
- How to create reactions to events
The Salt event system
Events are an integral part of almost everything Salt does. However, for the most part, these events are designed to be invisible, to work behind the scenes to provide interprocess communication and make an asynchronous platform feel synchronous in practice.
However, we can also leverage the event ...