Book Image

Salt Cookbook

By : Anirban Saha
Book Image

Salt Cookbook

By: Anirban Saha

Overview of this book

Table of Contents (18 chapters)
Salt Cookbook
Credits
About the Author
About the Reviewer
www.PacktPub.com
Preface
Index

Introduction


Apart from providing a structured method for configuration management, Salt also provides various other features such as the event system. The event system in Salt uses a publisher and subscribe model and is used to pass events between the master and the minions. Based on the data being passed through these events, specific types of actions can be configured.

The two components of Salt that mainly take part in this type of communication are the event system and the reactor system. The event system acts as the base of the communication method and the reactor system uses the functionality of the event system and combines it with the YAML-based configuration procedure of Salt to achieve desired results.

In this chapter, we will start with a basic understanding of the event system and its main components. We will move on to learn about how they work with each other to make sense of the event system. We will then move on to understanding the reactor system and how we can use the knowledge...