Book Image

Learning SaltStack

By : Colton Myers
Book Image

Learning SaltStack

By: Colton Myers

Overview of this book

Table of Contents (15 chapters)

Chapter 6. The Highstate and Environments

In the preceding chapter, you learned how to use Jinja2 and pillar data to make your state file more flexible.

In this chapter, you will learn how to organize your states so that we can enforce the state of your infrastructure with just a single remote execution command.

We will learn:

  • How to use topfiles in the state system to target state files to different minions

  • How to use environments to further organize our state files

  • How to use GitFS to store our state files in version control