How to Install SaltStack Master on CentOS 8 - CentLinux

Latest

Saturday, 15 August 2020

How to Install SaltStack Master on CentOS 8

How to Install SaltStack Master on CentOS 8

In this article, you will learn how to install SaltStack Master on CentOS 8.

 

Table of Contents:

     

    What is SaltStack Master?:

    SaltStack or Salt is a Python-based, open-source software for event based IT automation, remote task execution, and configuration management. SaltStack supports "Infrastructure as Code" approach to data center system and network deployment and management, configuration automation, SecOps orchestration, vulnerability remediation, and hybrid cloud control. (Courtesy: Wikipedia)

    SaltStack Master is the server node, it is the central server that controls all the Salstack Minions. Saltstack Master holds the Inventory and Public Keys of SaltStack Minions and perform remote execution on these minions.

     

    Environment Specification:

    We are using a minimal installed CentOS 8 virtual machine with following specifications.

    • CPU - 3.4 Ghz (2 cores)
    • Memory - 2 GB
    • Storage - 20 GB
    • Operating System - CentOS 8.2
    • Hostname – saltstack-master-01.centlinux.com
    • IP Address - 192.168.116.206 /24

     

    Update CentOS 8 Software Packages:

    Connect with saltstack-master-01.centlinux.com as root user by using a ssh tool.

    Update all existing software packages to latest available versions.

    [root@saltstack-master-01 ~]# dnf update -y ... Upgraded: NetworkManager-1:1.22.8-5.el8_2.x86_64 NetworkManager-libnm-1:1.22.8-5.el8_2.x86_64 NetworkManager-team-1:1.22.8-5.el8_2.x86_64 NetworkManager-tui-1:1.22.8-5.el8_2.x86_64 bind-export-libs-32:9.11.13-5.el8_2.x86_64 dbus-1:1.12.8-10.el8_2.x86_64 dbus-common-1:1.12.8-10.el8_2.noarch dbus-daemon-1:1.12.8-10.el8_2.x86_64 dbus-libs-1:1.12.8-10.el8_2.x86_64 dbus-tools-1:1.12.8-10.el8_2.x86_64 dnf-4.2.17-7.el8_2.noarch dnf-data-4.2.17-7.el8_2.noarch gnutls-3.6.8-11.el8_2.x86_64 grub2-common-1:2.02-87.el8_2.noarch grub2-pc-1:2.02-87.el8_2.x86_64 grub2-pc-modules-1:2.02-87.el8_2.noarch grub2-tools-1:2.02-87.el8_2.x86_64 grub2-tools-efi-1:2.02-87.el8_2.x86_64 grub2-tools-extra-1:2.02-87.el8_2.x86_64 grub2-tools-minimal-1:2.02-87.el8_2.x86_64 iptables-1.8.4-10.el8_2.1.x86_64 iptables-ebtables-1.8.4-10.el8_2.1.x86_64 iptables-libs-1.8.4-10.el8_2.1.x86_64 kernel-tools-4.18.0-193.14.2.el8_2.x86_64 kernel-tools-libs-4.18.0-193.14.2.el8_2.x86_64 libdnf-0.39.1-6.el8_2.x86_64 libnghttp2-1.33.0-3.el8_2.1.x86_64 microcode_ctl-4:20191115-4.20200609.1.el8_2.x86_64 open-vm-tools-11.0.5-3.el8.x86_64 python3-dnf-4.2.17-7.el8_2.noarch python3-hawkey-0.39.1-6.el8_2.x86_64 python3-libdnf-0.39.1-6.el8_2.x86_64 python3-perf-4.18.0-193.14.2.el8_2.x86_64 selinux-policy-3.14.3-41.el8_2.5.noarch selinux-policy-targeted-3.14.3-41.el8_2.5.noarch systemd-239-31.el8_2.2.x86_64 systemd-libs-239-31.el8_2.2.x86_64 systemd-pam-239-31.el8_2.2.x86_64 systemd-udev-239-31.el8_2.2.x86_64 yum-4.2.17-7.el8_2.noarch Installed: kernel-4.18.0-193.14.2.el8_2.x86_64 kernel-core-4.18.0-193.14.2.el8_2.x86_64 kernel-modules-4.18.0-193.14.2.el8_2.x86_64 Removed: kernel-4.18.0-147.5.1.el8_1.x86_64 kernel-core-4.18.0-147.5.1.el8_1.x86_64 kernel-modules-4.18.0-147.5.1.el8_1.x86_64 Complete!

    Our CentOS 8 software packages has been updated successfully.

     

    Installing Python on CentOS 8:

    SaltStack is written in Python, therefore, it requires Python language support for compilation and execution of SaltStack commands.

    Python3 is available in default CentOS AppStream, therefore, we can install it by using dnf command.

    [root@saltstack-master-01 ~]# dnf install -y python3 Last metadata expiration check: 0:16:42 ago on Tue 11 Aug 2020 12:07:17 AM PKT. Dependencies resolved. ================================================================================ Package Arch Version Repo Size ================================================================================ Installing: python36 x86_64 3.6.8-2.module_el8.1.0+245+c39af44f AppStream 19 k Installing dependencies: python3-pip noarch 9.0.3-16.el8 AppStream 19 k python3-setuptools noarch 39.2.0-5.el8 BaseOS 162 k Enabling module streams: python36 3.6 Transaction Summary ================================================================================ Install 3 Packages Total download size: 201 k Installed size: 466 k Downloading Packages: (1/3): python3-setuptools-39.2.0-5.el8.noarch.r 658 kB/s | 162 kB 00:00 (2/3): python3-pip-9.0.3-16.el8.noarch.rpm 641 B/s | 19 kB 00:31 (3/3): python36-3.6.8-2.module_el8.1.0+245+c39a 627 B/s | 19 kB 00:31 -------------------------------------------------------------------------------- Total 6.2 kB/s | 201 kB 00:32 Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Installing : python3-setuptools-39.2.0-5.el8.noarch 1/3 Installing : python36-3.6.8-2.module_el8.1.0+245+c39af44f.x86_64 2/3 Running scriptlet: python36-3.6.8-2.module_el8.1.0+245+c39af44f.x86_64 2/3 Installing : python3-pip-9.0.3-16.el8.noarch 3/3 Running scriptlet: python3-pip-9.0.3-16.el8.noarch 3/3 Verifying : python3-pip-9.0.3-16.el8.noarch 1/3 Verifying : python36-3.6.8-2.module_el8.1.0+245+c39af44f.x86_64 2/3 Verifying : python3-setuptools-39.2.0-5.el8.noarch 3/3 Installed: python3-pip-9.0.3-16.el8.noarch python3-setuptools-39.2.0-5.el8.noarch python36-3.6.8-2.module_el8.1.0+245+c39af44f.x86_64 Complete!

    Python 3.6 has been installed on CentOS 8 server.

     

    Installing SaltStack Official Yum Repository on CentOS 8:

    Although SaltStack packages are available via EPEL (Extra Packages for Enterprise Linux) yum repository. But if you want to install the latest version then you should install the official yum repository of SaltStack.

    Use the following command to install SaltStack official yum repository on CentOS 8.

    [root@saltstack-master-01 ~]# dnf install -y https://repo.saltstack.com/py3/redhat/salt-py3-repo-latest.el8.noarch.rpm Last metadata expiration check: 0:17:32 ago on Mon 10 Aug 2020 11:48:54 PM PKT. salt-py3-repo-latest.el8.noarch.rpm 5.6 kB/s | 8.9 kB 00:01 Dependencies resolved. ================================================================================ Package Architecture Version Repository Size ================================================================================ Installing: salt-py3-repo noarch latest-4.el8 @commandline 8.9 k Transaction Summary ================================================================================ Install 1 Package Total size: 8.9 k Installed size: 2.0 k Downloading Packages: Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Installing : salt-py3-repo-latest-4.el8.noarch 1/1 Verifying : salt-py3-repo-latest-4.el8.noarch 1/1 Installed: salt-py3-repo-latest-4.el8.noarch Complete!

    Build cache for newly installed yum repositories.

    [root@saltstack-master-01 ~]# dnf makecache CentOS-8 - AppStream 179 B/s | 4.3 kB 00:24 CentOS-8 - Base 3.5 kB/s | 3.9 kB 00:01 CentOS-8 - Extras 667 B/s | 1.5 kB 00:02 SaltStack Latest Release Channel Python 3 for R 33 kB/s | 224 kB 00:06 Metadata cache created.

     

    Installing SaltStack Master on CentOS 8:

    We have added SaltStack yum repository, now we can easily install latest versions of SaltStack packages using dnf command.

    Install necessary SaltStack packages that are required for a SaltStack Master server.

    [root@saltstack-master-01 ~]# dnf install -y salt-master salt-minion salt-ssh salt-syndic salt-cloud salt-api Last metadata expiration check: 0:31:42 ago on Tue 11 Aug 2020 12:07:17 AM PKT. Dependencies resolved. ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: salt-api noarch 3001.1-1.el8 salt-py3-latest 24 k salt-cloud noarch 3001.1-1.el8 salt-py3-latest 27 k salt-master noarch 3001.1-1.el8 salt-py3-latest 2.0 M salt-minion noarch 3001.1-1.el8 salt-py3-latest 43 k salt-ssh noarch 3001.1-1.el8 salt-py3-latest 25 k salt-syndic noarch 3001.1-1.el8 salt-py3-latest 24 k Installing dependencies: libsodium x86_64 1.0.17-2.el8 salt-py3-latest 158 k libunwind x86_64 1.3.1-2.el8 salt-py3-latest 74 k openpgm x86_64 5.2.122-17.el8 salt-py3-latest 179 k python3-babel noarch 2.5.1-5.el8 AppStream 4.8 M python3-chardet noarch 3.0.4-7.el8 BaseOS 195 k python3-cherrypy noarch 5.6.0-6.el8 salt-py3-latest 424 k python3-distro noarch 1.4.0-2.module_el8.1.0+245+c39af44f AppStream 37 k python3-jinja2 noarch 2.10.1-2.el8_0 AppStream 538 k python3-libcloud noarch 2.4.0-1.el8 salt-py3-latest 1.4 M python3-m2crypto x86_64 0.33.0-1.el8 salt-py3-latest 302 k python3-markupsafe x86_64 0.23-19.el8 AppStream 39 k python3-msgpack x86_64 0.6.1-3.el8 salt-py3-latest 91 k python3-psutil x86_64 5.4.3-10.el8 AppStream 373 k python3-pycurl x86_64 7.43.0.2-4.el8 AppStream 227 k python3-pysocks noarch 1.6.8-3.el8 BaseOS 34 k python3-pytz noarch 2017.2-9.el8 AppStream 54 k python3-pyyaml x86_64 3.12-12.el8 BaseOS 193 k python3-requests noarch 2.20.0-2.1.el8_1 BaseOS 123 k python3-systemd x86_64 234-8.el8 AppStream 81 k python3-typing noarch 3.5.2.2-4.el8 salt-py3-latest 44 k python3-urllib3 noarch 1.24.2-4.el8 BaseOS 176 k python3-zmq x86_64 17.0.0-5.el8 salt-py3-latest 399 k salt noarch 3001.1-1.el8 salt-py3-latest 10 M zeromq x86_64 4.3.1-4.el8 salt-py3-latest 297 k Transaction Summary ================================================================================ Install 30 Packages Total download size: 23 M Installed size: 90 M Downloading Packages: (1/30): python3-distro-1.4.0-2.module_el8.1.0+2 1.7 kB/s | 37 kB 00:21 (2/30): python3-markupsafe-0.23-19.el8.x86_64.r 153 kB/s | 39 kB 00:00 (3/30): python3-jinja2-2.10.1-2.el8_0.noarch.rp 24 kB/s | 538 kB 00:22 (4/30): python3-pycurl-7.43.0.2-4.el8.x86_64.rp 342 kB/s | 227 kB 00:00 (5/30): python3-psutil-5.4.3-10.el8.x86_64.rpm 236 kB/s | 373 kB 00:01 (6/30): python3-pytz-2017.2-9.el8.noarch.rpm 98 kB/s | 54 kB 00:00 (7/30): python3-systemd-234-8.el8.x86_64.rpm 91 kB/s | 81 kB 00:00 (8/30): python3-pysocks-1.6.8-3.el8.noarch.rpm 150 kB/s | 34 kB 00:00 (9/30): python3-pyyaml-3.12-12.el8.x86_64.rpm 153 kB/s | 193 kB 00:01 (10/30): python3-chardet-3.0.4-7.el8.noarch.rpm 103 kB/s | 195 kB 00:01 (11/30): python3-requests-2.20.0-2.1.el8_1.noar 237 kB/s | 123 kB 00:00 (12/30): python3-urllib3-1.24.2-4.el8.noarch.rp 180 kB/s | 176 kB 00:00 (13/30): libunwind-1.3.1-2.el8.x86_64.rpm 62 kB/s | 74 kB 00:01 (14/30): libsodium-1.0.17-2.el8.x86_64.rpm 85 kB/s | 158 kB 00:01 (15/30): openpgm-5.2.122-17.el8.x86_64.rpm 71 kB/s | 179 kB 00:02 (16/30): python3-libcloud-2.4.0-1.el8.noarch.rp 85 kB/s | 1.4 MB 00:16 (17/30): python3-m2crypto-0.33.0-1.el8.x86_64.r 207 kB/s | 302 kB 00:01 (18/30): python3-msgpack-0.6.1-3.el8.x86_64.rpm 135 kB/s | 91 kB 00:00 (19/30): python3-typing-3.5.2.2-4.el8.noarch.rp 26 kB/s | 44 kB 00:01 (20/30): python3-cherrypy-5.6.0-6.el8.noarch.rp 18 kB/s | 424 kB 00:23 (21/30): python3-zmq-17.0.0-5.el8.x86_64.rpm 97 kB/s | 399 kB 00:04 (22/30): salt-api-3001.1-1.el8.noarch.rpm 15 kB/s | 24 kB 00:01 (23/30): salt-cloud-3001.1-1.el8.noarch.rpm 21 kB/s | 27 kB 00:01 (24/30): python3-babel-2.5.1-5.el8.noarch.rpm 79 kB/s | 4.8 MB 01:01 (25/30): salt-minion-3001.1-1.el8.noarch.rpm 20 kB/s | 43 kB 00:02 (26/30): salt-ssh-3001.1-1.el8.noarch.rpm 92 kB/s | 25 kB 00:00 (27/30): salt-syndic-3001.1-1.el8.noarch.rpm 21 kB/s | 24 kB 00:01 (28/30): zeromq-4.3.1-4.el8.x86_64.rpm 174 kB/s | 297 kB 00:01 (29/30): salt-master-3001.1-1.el8.noarch.rpm 214 kB/s | 2.0 MB 00:09 (30/30): salt-3001.1-1.el8.noarch.rpm 330 kB/s | 10 MB 00:32 -------------------------------------------------------------------------------- Total 267 kB/s | 23 MB 01:27 warning: /var/cache/dnf/salt-py3-latest-ab32c742cbd8c211/packages/libsodium-1.0.17-2.el8.x86_64.rpm: Header V4 RSA/SHA256 Signature, key ID de57bfbe: NOKEY SaltStack Latest Release Channel Python 3 for R 1.7 MB/s | 1.7 kB 00:00 Importing GPG key 0xDE57BFBE: Userid : "SaltStack Packaging Team <packaging@saltstack.com>" Fingerprint: 754A 1A7A E731 F165 D5E6 D4BD 0E08 A149 DE57 BFBE From : /etc/pki/rpm-gpg/saltstack-signing-key Key imported successfully Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Installing : python3-markupsafe-0.23-19.el8.x86_64 1/30 Installing : python3-typing-3.5.2.2-4.el8.noarch 2/30 Installing : python3-m2crypto-0.33.0-1.el8.x86_64 3/30 Installing : python3-msgpack-0.6.1-3.el8.x86_64 4/30 Installing : python3-cherrypy-5.6.0-6.el8.noarch 5/30 Installing : openpgm-5.2.122-17.el8.x86_64 6/30 Installing : libunwind-1.3.1-2.el8.x86_64 7/30 Installing : libsodium-1.0.17-2.el8.x86_64 8/30 Installing : zeromq-4.3.1-4.el8.x86_64 9/30 Installing : python3-zmq-17.0.0-5.el8.x86_64 10/30 Installing : python3-pyyaml-3.12-12.el8.x86_64 11/30 Installing : python3-pysocks-1.6.8-3.el8.noarch 12/30 Installing : python3-urllib3-1.24.2-4.el8.noarch 13/30 Installing : python3-chardet-3.0.4-7.el8.noarch 14/30 Installing : python3-requests-2.20.0-2.1.el8_1.noarch 15/30 Installing : python3-libcloud-2.4.0-1.el8.noarch 16/30 Installing : python3-systemd-234-8.el8.x86_64 17/30 Installing : python3-pytz-2017.2-9.el8.noarch 18/30 Installing : python3-babel-2.5.1-5.el8.noarch 19/30 Installing : python3-jinja2-2.10.1-2.el8_0.noarch 20/30 Installing : python3-pycurl-7.43.0.2-4.el8.x86_64 21/30 Installing : python3-psutil-5.4.3-10.el8.x86_64 22/30 Installing : python3-distro-1.4.0-2.module_el8.1.0+245+c39af44f 23/30 Installing : salt-3001.1-1.el8.noarch 24/30 Installing : salt-master-3001.1-1.el8.noarch 25/30 Running scriptlet: salt-master-3001.1-1.el8.noarch 25/30 Installing : salt-api-3001.1-1.el8.noarch 26/30 Running scriptlet: salt-api-3001.1-1.el8.noarch 26/30 Installing : salt-cloud-3001.1-1.el8.noarch 27/30 Installing : salt-syndic-3001.1-1.el8.noarch 28/30 Running scriptlet: salt-syndic-3001.1-1.el8.noarch 28/30 Installing : salt-minion-3001.1-1.el8.noarch 29/30 Running scriptlet: salt-minion-3001.1-1.el8.noarch 29/30 Installing : salt-ssh-3001.1-1.el8.noarch 30/30 Running scriptlet: salt-ssh-3001.1-1.el8.noarch 30/30 Verifying : python3-babel-2.5.1-5.el8.noarch 1/30 Verifying : python3-distro-1.4.0-2.module_el8.1.0+245+c39af44f 2/30 Verifying : python3-jinja2-2.10.1-2.el8_0.noarch 3/30 Verifying : python3-markupsafe-0.23-19.el8.x86_64 4/30 Verifying : python3-psutil-5.4.3-10.el8.x86_64 5/30 Verifying : python3-pycurl-7.43.0.2-4.el8.x86_64 6/30 Verifying : python3-pytz-2017.2-9.el8.noarch 7/30 Verifying : python3-systemd-234-8.el8.x86_64 8/30 Verifying : python3-chardet-3.0.4-7.el8.noarch 9/30 Verifying : python3-pysocks-1.6.8-3.el8.noarch 10/30 Verifying : python3-pyyaml-3.12-12.el8.x86_64 11/30 Verifying : python3-requests-2.20.0-2.1.el8_1.noarch 12/30 Verifying : python3-urllib3-1.24.2-4.el8.noarch 13/30 Verifying : libsodium-1.0.17-2.el8.x86_64 14/30 Verifying : libunwind-1.3.1-2.el8.x86_64 15/30 Verifying : openpgm-5.2.122-17.el8.x86_64 16/30 Verifying : python3-cherrypy-5.6.0-6.el8.noarch 17/30 Verifying : python3-libcloud-2.4.0-1.el8.noarch 18/30 Verifying : python3-m2crypto-0.33.0-1.el8.x86_64 19/30 Verifying : python3-msgpack-0.6.1-3.el8.x86_64 20/30 Verifying : python3-typing-3.5.2.2-4.el8.noarch 21/30 Verifying : python3-zmq-17.0.0-5.el8.x86_64 22/30 Verifying : salt-3001.1-1.el8.noarch 23/30 Verifying : salt-api-3001.1-1.el8.noarch 24/30 Verifying : salt-cloud-3001.1-1.el8.noarch 25/30 Verifying : salt-master-3001.1-1.el8.noarch 26/30 Verifying : salt-minion-3001.1-1.el8.noarch 27/30 Verifying : salt-ssh-3001.1-1.el8.noarch 28/30 Verifying : salt-syndic-3001.1-1.el8.noarch 29/30 Verifying : zeromq-4.3.1-4.el8.x86_64 30/30 Installed: libsodium-1.0.17-2.el8.x86_64 libunwind-1.3.1-2.el8.x86_64 openpgm-5.2.122-17.el8.x86_64 python3-babel-2.5.1-5.el8.noarch python3-chardet-3.0.4-7.el8.noarch python3-cherrypy-5.6.0-6.el8.noarch python3-distro-1.4.0-2.module_el8.1.0+245+c39af44f.noarch python3-jinja2-2.10.1-2.el8_0.noarch python3-libcloud-2.4.0-1.el8.noarch python3-m2crypto-0.33.0-1.el8.x86_64 python3-markupsafe-0.23-19.el8.x86_64 python3-msgpack-0.6.1-3.el8.x86_64 python3-psutil-5.4.3-10.el8.x86_64 python3-pycurl-7.43.0.2-4.el8.x86_64 python3-pysocks-1.6.8-3.el8.noarch python3-pytz-2017.2-9.el8.noarch python3-pyyaml-3.12-12.el8.x86_64 python3-requests-2.20.0-2.1.el8_1.noarch python3-systemd-234-8.el8.x86_64 python3-typing-3.5.2.2-4.el8.noarch python3-urllib3-1.24.2-4.el8.noarch python3-zmq-17.0.0-5.el8.x86_64 salt-3001.1-1.el8.noarch salt-api-3001.1-1.el8.noarch salt-cloud-3001.1-1.el8.noarch salt-master-3001.1-1.el8.noarch salt-minion-3001.1-1.el8.noarch salt-ssh-3001.1-1.el8.noarch salt-syndic-3001.1-1.el8.noarch zeromq-4.3.1-4.el8.x86_64 Complete!

    Here, we are also installing salt-minion package on SaltStack Master, because the Minion will collect and send the system metrics of SaltStack Master server, even on the same server. Please refer to our next post on how to install SaltStack Minion on CentOS 8.

     

    Configure SaltStack Master on CentOS 8:

    Configuration files for SaltStack are located in /etc/salt directory.

    Default configurations are quiet enough to start a SaltStack Master server, but we need to adjust SaltStack Minion configurations before starting its service.

    Edit SaltStack Minion Configuration file.

    [root@saltstack-master-01 ~]# vi /etc/salt/minion

    Locate following directive in this file.

    #master: salt

    And replace it with following directive.

    master: saltstack-master-01.centlinux.com

    The master directive tells the SaltStack Minion about the SaltStack Master server in use. The SaltStack master hostname must be resolvable. You can either do this by using Local DNS Resolver i.e. /etc/hosts file or configure a authoritative DNS Server for your network.

    Enable and start SaltStack Master and Minion services.

    [root@saltstack-master-01 ~]# systemctl enable --now salt-master salt-minion Created symlink /etc/systemd/system/multi-user.target.wants/salt-master.service â /usr/lib/systemd/system/salt-master.service. Created symlink /etc/systemd/system/multi-user.target.wants/salt-minion.service â /usr/lib/systemd/system/salt-minion.service.

     

    Configure CentOS 8 Firewall for SaltStack Master:

    SaltStack master uses default ports 4505/tcp and 4506/tcp. Therefore, we need to allow incoming traffic to both of these ports in CentOS 8 firewall.

    [root@saltstack-master-01 ~]# firewall-cmd --permanent --add-port={4505,4506}/tcp success [root@saltstack-master-01 ~]# firewall-cmd --reload success

     

    Managing SaltStack Public Keys:

    On initial connection, a SaltStack minion send its public key to the SaltStack master. This public key must be accepted by the Master to allow a Minion to communicate with SaltStack Master.

    List down all the SaltStack public keys.

    [root@saltstack-master-01 ~]# salt-key -L Accepted Keys: Denied Keys: Unaccepted Keys: saltstack-master-01.centlinux.com Rejected Keys:

    Currently, there is only one Unaccepted public key. Accept this public key by using following command.

    [root@saltstack-master-01 ~]# salt-key -A The following keys are going to be accepted: Unaccepted Keys: saltstack-master-01.centlinux.com Proceed? [n/Y] Y Key for minion saltstack-master-01.centlinux.com accepted.

    Execute ping command on all SaltStack minions.

    [root@saltstack-master-01 ~]# salt '*' test.ping saltstack-master-01.centlinux.com: True

    Check versions of all SaltStack minions.

    [root@saltstack-master-01 ~]# salt '*' test.version saltstack-master-01.centlinux.com: 3001.1

     

    Conclusion:

    Our SaltStack Master has been installed and configured on CentOS 8. Before you start to use SaltStack, we strongly recommend you to purchase and read Mastering SaltStack - Second Edition by Joseph Hall. This book will guide you about the Saltstack architecture, basic concepts and practical examples.

    No comments:

    Post a comment