Book Image

Learning SaltStack

By : Colton Myers
Book Image

Learning SaltStack

By: Colton Myers

Overview of this book

Table of Contents (15 chapters)

Chapter 4. Defining the State of Your Infrastructure

In the last chapter, we finished our deep dive of the remote execution system inside Salt. Remote execution is the foundation upon which all of the rest of Salt rests. In this chapter we will learn about one of the most important systems: "the state system". We will learn:

  • How states are structured and how to write our first state

  • About the various pieces of the state declaration

  • How to expand our state declarations to encompass multiple pieces of state

  • About ordering states with requisites