Installing and configuring the Salt minion
In this recipe, we will learn about minions, how they work, and how to install and configure them.
How to do it...
We will install the Salt minion on a second node and name the node salt-minion
. First, we will install the salt-minion
package.
Installing the Salt minion on RedHat/CentOS/Fedora
- Install the
epel-release
rpm to configure the EPEL repository:[root@salt-minion ~]# rpm -ihv \ http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6- 8.noarch.rpm
- After the EPEL release package has been installed, we will install the
salt-minion
package with the following command and the dependencies should automatically be fetched from the repository:[root@salt-minion ~]# yum –y install salt-minion
Installing ...
Get Salt Cookbook now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.