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 and are designed to work behind the scenes to provide interprocess communication and make a complex system feel simple and friendly to the user.

We can also leverage the ...

Get Learning SaltStack - Second Edition 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.