Salt can help us configure and enforce state across our entire infrastructure with just a single command. But for that command to work, we need to make sure we have our states and formulas appropriately associated with our minions. This is achieved via the use of a top file, which we’ll be creating in this hands-on lab.
Successfully complete this lab by achieving the following learning objectives:
- Review Provided Formulas
Review the formulas provided in the
file_rootsof the lab environment.
- Create Top File
Create a top file mapping the states and formulas to minions as described in the instructions of this lab.
- Run Highstate
Run a highstate to ensure the top file is working.