Given how flexible jinja templating can be with saltstack and the numerous pillar variables are merged into the template; I would find it useful to be able to get salt to 'render' the full sls out to screen before i push it out. Is there a way of doing this?
The core of the Salt State system is the SLS, or SaLt State file. The SLS is a representation of the state in which a system should be in, and is set up to contain this data in a simple format. This is often called configuration management.
A wide variety of Microsoft Windows-based text editing and word processing applications can be used to view and edit the content of SLS files, and some of these include the Microsoft Notepad text editor and the Microsoft WordPad word processing application.
The Salt file server is a stateless ZeroMQ server. It is built into the Salt master. A Salt file server is used for distributing files from master to minions. It contains different modules.
State. A reusable declaration that configures a specific part of a system. Each Salt state is defined using a state declaration. State Declaration. A top level section of a state file that lists the state function calls and arguments that make up a state.
Just to answer my own question: I knew that state.show_top
existed. So I tried state.show_sls
, and voila! Exactly what I'm after.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With