There are a few subsystems in Salt that use an SLS file tree. The most common one of course is
/srv/salt/, which is used for Salt states. Right after states are pillars
(/srv/pillar/), which use a different file format but the same directory structure. Let's take a moment to talk about how these directories are put together.
SLS stands for Salt State, which was the first type of file inside Salt to use this kind of file structure. While SLS files can be rendered in a number of different formats, by far the widest use is the default, YAML. Various templating engines are also available to help form the YAML (or other data structure) and again, the most popular is the default, Jinja.
Keep in mind that Salt is all about data. ...