1
0

suse.rst 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159
  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 addrepo http://download.opensuse.org/repositories/systemsmanagement:/saltstack/openSUSE_Tumbleweed/systemsmanagement:saltstack.repo
  71. zypper refresh
  72. zypper install salt salt-minion salt-master
  73. For openSUSE 42.1 Leap run the following as root:
  74. .. code-block:: bash
  75. zypper addrepo http://download.opensuse.org/repositories/systemsmanagement:/saltstack/openSUSE_Leap_42.1/systemsmanagement:saltstack.repo
  76. zypper refresh
  77. zypper install salt salt-minion salt-master
  78. For openSUSE 13.2 run the following as root:
  79. .. code-block:: bash
  80. zypper addrepo http://download.opensuse.org/repositories/systemsmanagement:/saltstack/openSUSE_13.2/systemsmanagement:saltstack.repo
  81. zypper refresh
  82. zypper install salt salt-minion salt-master
  83. SUSE Linux Enterprise
  84. ---------------------
  85. For SLE 12 run the following as root:
  86. .. code-block:: bash
  87. zypper addrepo http://download.opensuse.org/repositories/systemsmanagement:/saltstack/SLE_12/systemsmanagement:saltstack.repo
  88. zypper refresh
  89. zypper install salt salt-minion salt-master
  90. For SLE 11 SP4 run the following as root:
  91. .. code-block:: bash
  92. zypper addrepo http://download.opensuse.org/repositories/systemsmanagement:/saltstack/SLE_11_SP4/systemsmanagement:saltstack.repo
  93. zypper refresh
  94. zypper install salt salt-minion salt-master
  95. Now go to the :ref:`Configuring Salt<configuring-salt>` page.