Chapter 12. Exploring Best Practices
Like all tools, Salt is easier to use and gives more consistent results when you use it right. Referring to a piece of equipment in his kitchen, a chef once told me, "I've seen a number of really ingenious ways to use this tool wrong". This chapter aims to give guidance to help you use Salt in the best way possible. We'll cover the following topics:
Future-proofing your infrastructure
Establishing a proper directory structure
Creating efficient SLS files
Using intuitive naming conventions
Using effective variables with templates