Introduction to SaltStack
SaltStack is an Infrastructure Management, Configuration management and Automated Provisioning system. It contains a number of different components. Some of those components will be explained below. Someone can define states and formulas within salt and have them automatically provisioned.
What are states
States (and by extension state files) are a way to express certain states that a machine needs to be in. An example would be if you want to make sure that nginx is installed:
This state, when run, will check if nginx has been installed and if it is not installed will install it for you.
What are formulas
Formulas are collections of states in one or multiple files. Most often they are designed to work together. A lot of formulas can be found on github: https://github.com/saltstack-formulas
What are modules
Modules are components of salt. These can be responsible for varying things including package management and file management.
What is salt-cloud
salt-cloud is a separate binary provided with SaltStack to manage Cloud servers and providers. it is used most often to create and manage new cloud instances. Next we will install salt on our master server. Follow us to the next tutorial!