1
0

suse.rst 2.9 KB

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