Setting up your directories

A good directory structure is important in any platform, and Salt is no different. The default placement of directories inside Salt was very carefully considered in order to maintain the best balance between the Filesystem Hierarchy Standard (FHS), Linux Standard Base (LSB), and various nuances between different Linux distributions.

As a user, you have a number of directories to contend with yourself, especially when planning both your state files and your pillar files. There's no official standard inside these directories, but there are some things that you can do to keep your directory trees in good order.

Standard directory locations

Most Linux distributions place files directly in their appropriate directories. Configuration ...

Get Mastering SaltStack - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.