SUSE Manager/Register Centos minions

From MicroFocusInternationalWiki
Revision as of 15:41, 7 October 2016 by Mateialbu (Talk | contribs) (initial version)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

SUSE Manager Main Page

Warning: Centos is not officially supported.

Install and register a Centos 7 minion

  1. Add the Open Build Service repo for Salt:
    yum-config-manager --add-repo http://download.opensuse.org/repositories/systemsmanagement:/saltstack:/products/CentOS_7/
  2. Import the repo key:
    rpm --import http://download.opensuse.org/repositories/systemsmanagement:/saltstack:/products/CentOS_7/repodata/repomd.xml.key
  3. 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.
  4. Install the Salt minion:
    yum install salt salt-minion
  5. 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
  6. Restart the minion:
    systemctl restart salt-minion
  7. Go to the Web UI and accept the minion key.