An ideal Salt formula is one based on the needs of its user, and a common use case is a formula that can work across multiple distributions. In this hands-on lab, we’ll look at an existing Apache formula and then incorporate the use of Jinja so that it works on Red Hat as well as Ubuntu.
Learning Objectives
Successfully complete this lab by achieving the following learning objectives:
- Review the Formula
Review the provided Apache formula.
- Add Jinja Mapping
Using what you learned by reviewing the formula, create a
map.jinja
file to add the needed parameters.- Update States
Update each state so it references the Jinja map.