Summary

States are very powerful and one of the most important pieces of Salt. In this chapter, we have written and executed our first states and learned about the structure of a state declaration. We then expanded our state declarations to enforce multiple pieces of state and created dependencies using requisites.

We've only just begun exploring states! In the next chapter, we will further expand our states using Jinja2 templating and pillar data.

Get Learning SaltStack 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.