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.
You will learn the following:
- 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