Skip to content

DOCS-8824: Be more specific about SUSE versions #2726

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 5 additions & 8 deletions source/includes/steps-install-mongodb-enterprise-on-suse.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,17 @@ pre: |
Add the repository so that you can install MongoDB using ``zypper``.
action:
- pre: |
Specify the latest stable release of MongoDB using the command
appropriate for your version of SUSE:
Run the command appropriate for your version of SUSE:

SUSE 11
.. code-block:: sh

.. code-block:: sh

sudo zypper addrepo --no-gpgcheck "https://repo.mongodb.com/zypper/suse/11/mongodb-enterprise/3.2/x86_64/" mongodb
sudo zypper addrepo --no-gpgcheck "https://repo.mongodb.com/zypper/suse/11/mongodb-enterprise/3.2/x86_64/" mongodb

SUSE 12
.. code-block:: sh

.. code-block:: sh

sudo zypper addrepo --no-gpgcheck "https://repo.mongodb.com/zypper/suse/12/mongodb-enterprise/3.2/x86_64/" mongodb
sudo zypper addrepo --no-gpgcheck "https://repo.mongodb.com/zypper/suse/12/mongodb-enterprise/3.2/x86_64/" mongodb
- pre: |
If you'd like to install MongoDB packages from a previous :ref:`release
series <release-version-numbers>`, such as 2.6, you can
Expand Down
17 changes: 12 additions & 5 deletions source/includes/steps-install-mongodb-on-suse.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
title: Configure the package management system (``zypper``).
stepnum: 1
ref: config-yum
ref: config-zypper
pre: |
Add the repository so that you can install MongoDB using ``zypper``.

Expand All @@ -11,10 +11,17 @@ pre: |
action:
- heading: For the *latest* stable release of MongoDB
pre: |
Use the following command:
language: sh
code: |
sudo zypper addrepo --no-gpgcheck https://repo.mongodb.org/zypper/suse/$(sed -rn 's/VERSION=.*([0-9]{2}).*/\1/p' /etc/os-release)/mongodb-org/3.2/x86_64/ mongodb
Run the command appropriate for your version of SUSE:

SUSE 11
.. code-block:: sh

sudo zypper addrepo --no-gpgcheck "https://repo.mongodb.org/zypper/suse/11/mongodb-org/3.2/x86_64/" mongodb

SUSE 12
.. code-block:: sh

sudo zypper addrepo --no-gpgcheck "https://repo.mongodb.org/zypper/suse/12/mongodb-org/3.2/x86_64/" mongodb
- heading: For versions of MongoDB *earlier* than 3.2
pre: |
To install MongoDB packages from a previous :ref:`release
Expand Down
2 changes: 1 addition & 1 deletion source/tutorial/install-mongodb-enterprise-on-suse.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Overview
--------

Use this tutorial to install :products:`MongoDB Enterprise
</mongodb-enterprise-advanced?jmp=docs>` on SUSE Linux.
</mongodb-enterprise-advanced?jmp=docs>` on SUSE Linux 11 and 12.
MongoDB Enterprise is available on select platforms and contains support
for several features related to security and monitoring.

Expand Down
8 changes: 4 additions & 4 deletions source/tutorial/install-mongodb-on-suse.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ Install MongoDB Community Edition on SUSE
Overview
--------

Use this tutorial to install MongoDB Community Edition on SUSE Linux from
``.rpm`` packages. While SUSE distributions include their own MongoDB Community
Edition packages, the official MongoDB Community Edition packages are generally
more up to date.
Use this tutorial to install MongoDB Community Edition on SUSE Linux 11
and 12 using ``.rpm`` packages. While SUSE distributions include their
own MongoDB Community Edition packages, the official MongoDB Community
Edition packages are generally more up to date.

.. admonition:: Platform Support

Expand Down