O'Reilly logo

Learning SaltStack - Second Edition by Colton Myers

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required