Chapter 3. Managing States

Configuration management is a hot topic, and the state system is what Salt uses to perform it. It's become very powerful over time, and even if you're already well versed in states, I expect there are still a few tricks you haven't learned yet. In this chapter, we'll cover:

  • Integrating multiple state files into a cohesive product
  • Making state trees span multiple environments
  • Understanding the master tops subsystem
  • Taking advantage of the saltstack-formulas organization on GitHub
  • Using SPM, the Salt Package Manager

Handling multiple states

Using single SLS files is pretty powerful as it is, but real power comes from being able to combine them to form a larger orchestration. We touched on some of the basics in Chapter 1 , Essentials ...

Get Mastering SaltStack - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.