Skip to content
lava6666 edited this page Oct 23, 2022 · 33 revisions

Official Salt Docs are not hosted here

Getting Started Tutorials: https://docs.saltstack.com/en/getstarted/

Reference Documentation: http://docs.saltstack.com

Salt is a powerful remote execution manager that can be used to administer servers in a fast and efficient way.

Salt allows you to execute commands simultaneously on all of, or a select number of, machines at once. Salt also allows you to remotely configure these machines using simple to read and write yaml syntax.

For example, you can check the status of all of your servers with a command like this:

salt '*' test.ping

You can install packages, create users, check out git repositories, and a whole lot more with SALT too:

apache:
   pkg:
     - installed
   service:
     - running
     - require:
       - pkg: apache

Save the above file as apache.sls then apply it to your hosts.

salt '*' state.sls apache

Then salt will install apache and ensures the service is running.

It really is that simple!

Salt documentation has moved to: http://docs.saltstack.com

If you wish to contribute to the salt documentation we are excited to work with you! The documentation is in the salt git repository under the doc directory and is managed by sphinx: Docs Directory

There also is a cheat-sheet available for quick reference.

Clone this wiki locally