Chapter 5. Expanding Our States with Jinja2 and Pillar
In the previous chapter, you learned about the state system and wrote your first state. In this chapter, we will do the following:
- Learn the basics of the Jinja2 templating language
- Use Jinja2 to make our states platform agnostic
- Learn how to define minion-specific secure data in the pillar system
- Use Jinja2 to use pillar data in our states