suse.rst 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  1. .. _installation-suse:
  2. ====
  3. SUSE
  4. ====
  5. Installation from the Official SaltStack Repository
  6. ===================================================
  7. The SaltStack Repository has packages available for the following platforms:
  8. - SLES 11 SP4
  9. - SLES 12 / SLES 12 SP1 through SP4
  10. - SLES 15
  11. - openSUSE Leap 15.0, 15.1, 42.2, 42.3
  12. - openSUSE Tumbleweed
  13. Instructions are at https://repo.saltstack.com/#suse.
  14. Installation from the SUSE Repository
  15. =====================================
  16. Since openSUSE 13.2, Salt has been available in the primary repositories.
  17. With the release of SUSE manager 3 a new repository setup has been created.
  18. The new repo will by systemsmanagement:saltstack, which is the source
  19. for newer stable packages. For backward compatibility a linkpackage will be
  20. created to the old devel:language:python repo.
  21. All development of suse packages will be done in systemsmanagement:saltstack:testing.
  22. This will ensure that salt will be in mainline suse repo's, a stable release
  23. repo and a testing repo for further enhancements.
  24. Installation
  25. ============
  26. Salt can be installed using ``zypper`` and is available in the standard openSUSE/SLES
  27. repositories.
  28. Stable Release
  29. --------------
  30. Salt is packaged separately for the minion and the master. It is necessary only to
  31. install the appropriate package for the role the machine will play. Typically, there
  32. will be one master and multiple minions.
  33. .. code-block:: bash
  34. zypper install salt-master
  35. zypper install salt-minion
  36. Post-installation tasks openSUSE
  37. ================================
  38. **Master**
  39. To have the Master start automatically at boot time:
  40. .. code-block:: bash
  41. systemctl enable salt-master.service
  42. To start the Master:
  43. .. code-block:: bash
  44. systemctl start salt-master.service
  45. **Minion**
  46. To have the Minion start automatically at boot time:
  47. .. code-block:: bash
  48. systemctl enable salt-minion.service
  49. To start the Minion:
  50. .. code-block:: bash
  51. systemctl start salt-minion.service
  52. Post-installation tasks SLES
  53. ============================
  54. **Master**
  55. To have the Master start automatically at boot time:
  56. .. code-block:: bash
  57. chkconfig salt-master on
  58. To start the Master:
  59. .. code-block:: bash
  60. rcsalt-master start
  61. **Minion**
  62. To have the Minion start automatically at boot time:
  63. .. code-block:: bash
  64. chkconfig salt-minion on
  65. To start the Minion:
  66. .. code-block:: bash
  67. rcsalt-minion start
  68. Unstable Release
  69. ----------------
  70. openSUSE
  71. --------
  72. For openSUSE Leap or Tumbleweed systems, run the following as root:
  73. .. code-block:: bash
  74. zypper install salt salt-minion salt-master
  75. SUSE Linux Enterprise
  76. ---------------------
  77. For SLES 15 and above run the following as root:
  78. .. code-block:: bash
  79. zypper install salt salt-minion salt-master
  80. Now go to the :ref:`Configuring Salt<configuring-salt>` page.