Book Image

Mastering SaltStack

By : Joseph Hall
Book Image

Mastering SaltStack

By: Joseph Hall

Overview of this book

Table of Contents (19 chapters)
Mastering SaltStack
Credits
Foreword
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Chapter 10. 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