A group of related Salt states is called a formula, and there needs to be a way to establish relationships between these states, so our states are not run out of order when running our formula. This is done via the use of requisites and includes. In this lab, we’ll look at an existing MySQL formula and add requisites.
Successfully complete this lab by achieving the following learning objectives:
- Review the Provided Formula
Review the provided formula. Consider the possible relationships between the states, how you would order them, and which you would include as part of the
- Add Requisites to the Formula
Add the needed requisites to the formula.
- Add Includes
init.slsfile and other needed files to use the appropriate includes.