Salt Stack Introduction
Posted By : Tarun Singhal | 23-Sep-2018
Salt, or SaltStack, is a remote execution and arrangement administration structure. At first working just as a remote execution structure, Salt has been reached out to contain arrangement administration, organization frameworks, and then some. At its centre, Salt uses a rapid information transport, ZeroMQ, to build up a scrambled channel among ace and follower servers, which can get and run directions all the while, in a bar/sub display arrange.
Salt’s directions can work over numerous working frameworks and dissemination, including Linux, MacOS, and Windows; Linux has a tendency to be the most prominent utilize case, so that is the thing that this course will centre around – ideas continue as before for all OSes.
Salt is profoundly extensible and contains more than twenty pluggable subsystems that can be utilized. The remote execution and
For some, *nix-based frameworks, Salt offers various choices identified with how we need our Salt updates and form to go. So, regardless of which Salt discharge you select to utilize, the establishment procedure has a tendency to be comparative:
Add repository key and repository
Update the cache for the packing tool
Install the Salt components you want:
- salt-master
- salt-minion
- salt-ssh
- salt-syndic
- salt-cloud
- salt-API
As an example, let’s walk through installing Salt on a Debian system.
Install the Latest Salt on Debian 9
Set the hostname to salt; update /etc/hosts to use the hostname salt:
Note that, by default, Salt looks for a master named salt.
Import the repository key:
wget -O - https://repo.saltstack.com/apt/debian/9/amd64/archive/2018.3.0/SALTSTACK-GPG-KEY.pub | sudo apt-key add -
Add the SaltStack repository into your repository list:
sudo $EDITOR /etc/apt/sources.list.d/saltstack.list
deb http://repo.saltstack.com/apt/debian/9/amd64/archive/2018.3.0 stretch main
Run an update:
sudo apt-get update
Install Salt components:
sudo apt-get install salt-master salt-minion
Cookies are important to the proper functioning of a site. To improve your experience, we use cookies to remember log-in details and provide secure log-in, collect statistics to optimize site functionality, and deliver content tailored to your interests. Click Agree and Proceed to accept cookies and go directly to the site or click on View Cookie Settings to see detailed descriptions of the types of cookies and choose whether to accept certain cookies while on the site.
About Author
Tarun Singhal
Tarun is a RedHat Certified System Administrator. He is very keen to learn new technologies. He has good command over tools like Ansible, Gitlab-CI etc.