Hey @Dipti, follow these steps to install Saltstack on CentOS
Execute these commands on Salt master
# yum update
# yum install
# yum clean expire-cache
# yum install salt-master -y
Modify configuration file
# vim /etc/salt/master
Find and replace master IP (uncomment it)
interface: 192.168.0.161
Start and enable salt master
# systemctl start salt-master.service
# systemctl enable salt-master.service
Modify firewall rules:
# firewall-cmd --permanent --zone=public --add-port=4505-4506/tcp
# firewall-cmd --reload
Install salt minion on all minion nodes
# firewall-cmd --permanent --zone=public --add-port=4505-4506/tcp
# firewall-cmd --reload
# yum update
# yum install
# yum clean expire-cache
# yum install salt-minion -y
Modify minion configuration file
# vim /etc/salt/minion
Find and replace master IP (uncomment it)
master: 192.168.0.161
Start and enable minion
# systemctl start salt-minion.service
# systemctl enable salt-minion.service