mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
re-add cheatsheet do-over
This commit is contained in:
parent
60a8330561
commit
e56f02b025
1 changed files with 11 additions and 0 deletions
|
@ -26,6 +26,17 @@
|
|||
|
||||
The \texttt{top.sls} file is used to map what SLS modules get loaded onto what minions via the state system.\\
|
||||
|
||||
It is located in the file defined in the \texttt{file_roots} variable of the
|
||||
salt master configuration file which is found in
|
||||
\texttt{CONFIG_DIR}/master.
|
||||
|
||||
The file roots is defined like this by default.
|
||||
\begin{verbatim}
|
||||
file_roots:
|
||||
base:
|
||||
- /srv/salt
|
||||
\end{verbatim}
|
||||
|
||||
Here is an example \texttt{top.sls} file which uses \texttt{pkg}, \texttt{file} and \texttt{service} states:
|
||||
|
||||
\begin{verbatim}
|
||||
|
|
Loading…
Add table
Reference in a new issue