O'Reilly logo

Salt Cookbook by Anirban Saha

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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

  1. 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
    
  2. 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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required