Travelling Techie

Adventures in VMware

User Tools

Site Tools


Sidebar

Network Virtualization
Compute Virtualization
Storage Virtualization
Cloud
Containers
Operating Systems
Automation
Tools
VMware Classes
Other Classes
Other

Tags

Recent Changes

About The Author

Brandon Neill is a VMware Certified Instructor and Consultant. He specializes in NSX and vRealize Automation. In addition to teaching Official VMware Classes, he provides contract training and consulting services.

salt_installation

Salt Installation

Installing Salt on CentOS

(from https://repo.saltstack.com/#rhel)

# yum install https://repo.saltstack.com/py3/redhat/salt-py3-repo-latest.el8.noarch.rpm         // get the latest version from the saltstack repo
# yum install salt-master        // salt Master
# yum install salt-minion        //  all that is needed on a salt minion
# yum install salt-ssh           // salt via ssh (instead of minion client)
# yum install salt-syndic
# yum install salt-cloud
# yum install salt-api

# systemctl restart salt-minion

I don't need to install salt-master on a minion.

Make sure you're installing the repo for the correct version of CentOS

Installing Salt Master on Raspbian

apt-get install salt-api
apt-get install salt-cloud
apt-get install salt-master
apt-get install salt-minion
apt-get install salt-ssh
apt-get install salt-syndic
  • Ensure that there is an entry in DNS for “salt” and “masterofmasters” pointing to the salt master.
  • I needed “masterofmasters” because I installed salt-syndic. I don't think I will need this in my environment.
  • On my installation on Raspbian, I had to change ownership on “/var/cache/salt/master/roots/mtime_map” because for some reason it was owned by root instead of salt.
  • I had to create the /srv/salt directory, and change its ownership to salt
salt_installation.txt · Last modified: 2019/12/07 15:28 by brandon