SUSE Manager/Register Centos minions
Revision as of 15:41, 7 October 2016 by Mateialbu (initial version)
Warning: Centos is not officially supported.
Install and register a Centos 7 minion
- Add the Open Build Service repo for Salt:
yum-config-manager --add-repo http://download.opensuse.org/repositories/systemsmanagement:/saltstack:/products/CentOS_7/
- Import the repo key:
rpm --import http://download.opensuse.org/repositories/systemsmanagement:/saltstack:/products/CentOS_7/repodata/repomd.xml.key
- Check if there's any other repo that contains Salt.
yum list --showduplicates salt
If there's only one repo listed then you're fine. If not disable any other repo that contains Salt apart from the OBS one.
- Install the Salt minion:
yum install salt salt-minion
- Change the Salt configuration to point to the Suse Manager server:
mkdir -p /etc/salt/minion.d
echo "master: <server fqdn>" > /etc/salt/minion.d/susemanager.conf
- Restart the minion:
systemctl restart salt-minion
- Go to the Web UI and accept the minion key.