diff --git a/source/includes/steps-install-mongodb-enterprise-on-amazon.yaml b/source/includes/steps-install-mongodb-enterprise-on-amazon.yaml index 271c686ead9..c21c6590bcf 100644 --- a/source/includes/steps-install-mongodb-enterprise-on-amazon.yaml +++ b/source/includes/steps-install-mongodb-enterprise-on-amazon.yaml @@ -12,7 +12,7 @@ action: code: | [mongodb-enterprise] name=MongoDB Enterprise Repository - baseurl=https://repo.mongodb.com/yum/amazon/2013.03/mongodb-enterprise/3.3/$basearch/ + baseurl=https://repo.mongodb.com/yum/amazon/2013.03/mongodb-enterprise/testing/$basearch/ gpgcheck=1 enabled=1 gpgkey=https://www.mongodb.org/static/pgp/server-3.4.asc @@ -25,13 +25,13 @@ stepnum: 2 source: file: steps-install-mongodb-enterprise-on-red-hat.yaml ref: install +# --- +# stepnum: 3 +# source: +# file: steps-install-mongodb-enterprise-on-red-hat.yaml +# ref: manage-installed-versions --- stepnum: 3 -source: - file: steps-install-mongodb-enterprise-on-red-hat.yaml - ref: manage-installed-versions ---- -stepnum: 4 source: file: steps-install-mongodb-enterprise-on-red-hat.yaml ref: install-completes diff --git a/source/includes/steps-install-mongodb-enterprise-on-debian.yaml b/source/includes/steps-install-mongodb-enterprise-on-debian.yaml index d509de6744a..e0b4931b402 100644 --- a/source/includes/steps-install-mongodb-enterprise-on-debian.yaml +++ b/source/includes/steps-install-mongodb-enterprise-on-debian.yaml @@ -14,12 +14,12 @@ action: Debian 7 "Wheezy" .. code-block:: sh - echo "deb http://repo.mongodb.com/apt/debian wheezy/mongodb-enterprise/3.3 main" | sudo tee /etc/apt/sources.list.d/mongodb-enterprise.list + echo "deb http://repo.mongodb.com/apt/debian wheezy/mongodb-enterprise/testing main" | sudo tee /etc/apt/sources.list.d/mongodb-enterprise.list Debian 8 "Jessie" .. code-block:: sh - echo "deb http://repo.mongodb.com/apt/debian jessie/mongodb-enterprise/3.3 main" | sudo tee /etc/apt/sources.list.d/mongodb-enterprise.list + echo "deb http://repo.mongodb.com/apt/debian jessie/mongodb-enterprise/testing main" | sudo tee /etc/apt/sources.list.d/mongodb-enterprise.list - pre: | If you'd like to install MongoDB Enterprise packages from a particular :ref:`release series `, such as diff --git a/source/includes/steps-install-mongodb-enterprise-on-red-hat.yaml b/source/includes/steps-install-mongodb-enterprise-on-red-hat.yaml index 16f861f7655..0f931885ad4 100644 --- a/source/includes/steps-install-mongodb-enterprise-on-red-hat.yaml +++ b/source/includes/steps-install-mongodb-enterprise-on-red-hat.yaml @@ -12,7 +12,7 @@ action: code: | [mongodb-enterprise] name=MongoDB Enterprise Repository - baseurl=https://repo.mongodb.com/yum/redhat/$releasever/mongodb-enterprise/3.3/$basearch/ + baseurl=https://repo.mongodb.com/yum/redhat/$releasever/mongodb-enterprise/testing/$basearch/ gpgcheck=1 enabled=1 gpgkey=https://www.mongodb.org/static/pgp/server-3.4.asc @@ -24,49 +24,49 @@ action: title: Install the MongoDB Enterprise packages and associated tools. ref: install stepnum: 2 -pre: | - You can install either the latest stable version of MongoDB Enterprise or a - specific version of MongoDB Enterprise. +# pre: | +# You can install either the latest stable version of MongoDB Enterprise or a +# specific version of MongoDB Enterprise. action: pre: "To install the latest stable version of MongoDB Enterprise, issue the following command:" language: sh code: | sudo yum install -y mongodb-enterprise ---- -title: Manage Installed Version -ref: manage-installed-versions -optional: true -stepnum: 3 -action: - - heading: - text: Install a specific release of MongoDB Enterprise. - character: "'" - pre: | - Specify each component package individually and append the - version number to the package name. +# --- +# title: Manage Installed Version +# ref: manage-installed-versions +# optional: true +# stepnum: 3 +# action: +# - heading: +# text: Install a specific release of MongoDB Enterprise. +# character: "'" +# pre: | +# Specify each component package individually and append the +# version number to the package name. - For example, to instal the ``3.4.0`` release of MongoDB: - language: sh - code: | - sudo yum install -y mongodb-enterprise-3.4.0 mongodb-enterprise-server-3.4.0 mongodb-enterprise-shell-3.4.0 mongodb-enterprise-mongos-3.4.0 mongodb-enterprise-tools-3.4.0 - - heading: - text: Pin a specific version of MongoDB Enterprise. - character: "'" - pre: | - Although you can specify any available version of MongoDB - Enterprise, ``yum`` will upgrade the packages when a newer - version becomes available. To prevent unintended upgrades, pin - the package by adding the following ``exclude`` directive to your - ``/etc/yum.conf`` file: - language: ini - code: | - exclude=mongodb-enterprise,mongodb-enterprise-server,mongodb-enterprise-shell,mongodb-enterprise-mongos,mongodb-enterprise-tools -post: | - Previous versions of MongoDB packages use different naming conventions. - See the :v2.4:`2.4 version of documentation for more information - `. +# For example, to instal the ``3.4.0`` release of MongoDB: +# language: sh +# code: | +# sudo yum install -y mongodb-enterprise-3.4.0 mongodb-enterprise-server-3.4.0 mongodb-enterprise-shell-3.4.0 mongodb-enterprise-mongos-3.4.0 mongodb-enterprise-tools-3.4.0 +# - heading: +# text: Pin a specific version of MongoDB Enterprise. +# character: "'" +# pre: | +# Although you can specify any available version of MongoDB +# Enterprise, ``yum`` will upgrade the packages when a newer +# version becomes available. To prevent unintended upgrades, pin +# the package by adding the following ``exclude`` directive to your +# ``/etc/yum.conf`` file: +# language: ini +# code: | +# exclude=mongodb-enterprise,mongodb-enterprise-server,mongodb-enterprise-shell,mongodb-enterprise-mongos,mongodb-enterprise-tools +# post: | +# Previous versions of MongoDB packages use different naming conventions. +# See the :v2.4:`2.4 version of documentation for more information +# `. --- title: When the install completes, you can run MongoDB. ref: install-completes -stepnum: 4 +stepnum: 3 ... diff --git a/source/includes/steps-install-mongodb-enterprise-on-suse.yaml b/source/includes/steps-install-mongodb-enterprise-on-suse.yaml index 161f1539400..364f6618634 100644 --- a/source/includes/steps-install-mongodb-enterprise-on-suse.yaml +++ b/source/includes/steps-install-mongodb-enterprise-on-suse.yaml @@ -15,12 +15,12 @@ action: SUSE 11 .. code-block:: sh - sudo zypper addrepo --gpgcheck "https://repo.mongodb.com/zypper/suse/11/mongodb-enterprise/3.3/x86_64/" mongodb + sudo zypper addrepo --gpgcheck "https://repo.mongodb.com/zypper/suse/11/mongodb-enterprise/testing/x86_64/" mongodb SUSE 12 .. code-block:: sh - sudo zypper addrepo --gpgcheck "https://repo.mongodb.com/zypper/suse/12/mongodb-enterprise/3.3/x86_64/" mongodb + sudo zypper addrepo --gpgcheck "https://repo.mongodb.com/zypper/suse/12/mongodb-enterprise/testing/x86_64/" mongodb - pre: | If you'd like to install MongoDB packages from a previous :ref:`release series `, such as 2.6, you can @@ -34,9 +34,9 @@ action: title: Install the MongoDB packages and associated tools. stepnum: 3 ref: install -pre: | - When you install the packages, you choose whether to install the current - release or a previous one. This step provides the commands for both. +# pre: | +# When you install the packages, you choose whether to install the current +# release or a previous one. This step provides the commands for both. action: - pre: | To install the latest stable version of MongoDB, issue the following @@ -44,19 +44,19 @@ action: language: sh code: | sudo zypper -n install mongodb-enterprise - - pre: | - To install a specific release of MongoDB, specify each - component package individually and append the version number to the - package name, as in the following example: + # - pre: | + # To install a specific release of MongoDB, specify each + # component package individually and append the version number to the + # package name, as in the following example: - .. include:: /includes/release/pin-repo-suse-enterprise.rst - - pre: | - You can specify any available version of MongoDB. However ``zypper`` - will upgrade the packages when a newer version becomes available. To - prevent unintended upgrades, pin the packages by running the following - command: + # .. include:: /includes/release/pin-repo-suse-enterprise.rst + # - pre: | + # You can specify any available version of MongoDB. However ``zypper`` + # will upgrade the packages when a newer version becomes available. To + # prevent unintended upgrades, pin the packages by running the following + # command: - .. include:: /includes/release/pin-repo-suse-lock-enterprise.rst + # .. include:: /includes/release/pin-repo-suse-lock-enterprise.rst post: | Previous versions of MongoDB packages use a different repository location. Refer to the version of the documentation appropriate for diff --git a/source/includes/steps-install-mongodb-enterprise-on-ubuntu.yaml b/source/includes/steps-install-mongodb-enterprise-on-ubuntu.yaml index 125450ea8cb..832530004d1 100644 --- a/source/includes/steps-install-mongodb-enterprise-on-ubuntu.yaml +++ b/source/includes/steps-install-mongodb-enterprise-on-ubuntu.yaml @@ -16,19 +16,19 @@ action: .. code-block:: sh - echo "deb http://repo.mongodb.com/apt/ubuntu precise/mongodb-enterprise/3.3 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-enterprise.list + echo "deb http://repo.mongodb.com/apt/ubuntu precise/mongodb-enterprise/testing multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-enterprise.list Ubuntu 14.04 .. code-block:: sh - echo "deb http://repo.mongodb.com/apt/ubuntu trusty/mongodb-enterprise/3.3 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-enterprise.list + echo "deb http://repo.mongodb.com/apt/ubuntu trusty/mongodb-enterprise/testing multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-enterprise.list Ubuntu 16.04 .. code-block:: sh - echo "deb http://repo.mongodb.com/apt/ubuntu xenial/mongodb-enterprise/3.3 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-enterprise.list + echo "deb http://repo.mongodb.com/apt/ubuntu xenial/mongodb-enterprise/testing multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-enterprise.list - pre: | If you'd like to install MongoDB Enterprise packages from a @@ -48,9 +48,9 @@ source: title: Install the MongoDB Enterprise packages. stepnum: 4 ref: install -pre: | - You can install either the latest stable version of MongoDB or a - specific version of MongoDB. +# pre: | +# You can install either the latest stable version of MongoDB or a +# specific version of MongoDB. action: - heading: text: Install the latest stable version of MongoDB Enterprise. @@ -59,29 +59,29 @@ action: language: sh code: | sudo apt-get install -y mongodb-enterprise - - heading: - text: Install a specific release of MongoDB Enterprise. - character: "'" - pre: | - .. include:: /includes/release/pin-version-intro.rst - .. include:: /includes/release/pin-repo-to-version-deb-enterprise.rst - .. include:: /includes/release/pin-version-outro-enterprise.rst - - heading: - text: Pin a specific version of MongoDB Enterprise. - character: "'" - pre: | - Although you can specify any available version of MongoDB, - ``apt-get`` will upgrade the packages when a newer version - becomes available. To prevent unintended upgrades, pin the - package. To pin the version of MongoDB at the currently - installed version, issue the following command sequence: - language: sh - code: | - echo "mongodb-enterprise hold" | sudo dpkg --set-selections - echo "mongodb-enterprise-server hold" | sudo dpkg --set-selections - echo "mongodb-enterprise-shell hold" | sudo dpkg --set-selections - echo "mongodb-enterprise-mongos hold" | sudo dpkg --set-selections - echo "mongodb-enterprise-tools hold" | sudo dpkg --set-selections + # - heading: + # text: Install a specific release of MongoDB Enterprise. + # character: "'" + # pre: | + # .. include:: /includes/release/pin-version-intro.rst + # .. include:: /includes/release/pin-repo-to-version-deb-enterprise.rst + # .. include:: /includes/release/pin-version-outro-enterprise.rst + # - heading: + # text: Pin a specific version of MongoDB Enterprise. + # character: "'" + # pre: | + # Although you can specify any available version of MongoDB, + # ``apt-get`` will upgrade the packages when a newer version + # becomes available. To prevent unintended upgrades, pin the + # package. To pin the version of MongoDB at the currently + # installed version, issue the following command sequence: + # language: sh + # code: | + # echo "mongodb-enterprise hold" | sudo dpkg --set-selections + # echo "mongodb-enterprise-server hold" | sudo dpkg --set-selections + # echo "mongodb-enterprise-shell hold" | sudo dpkg --set-selections + # echo "mongodb-enterprise-mongos hold" | sudo dpkg --set-selections + # echo "mongodb-enterprise-tools hold" | sudo dpkg --set-selections post: | Versions of the MongoDB packages before 2.6 use a different repository location. Refer to the version of the documentation appropriate for diff --git a/source/includes/steps-install-mongodb-on-debian.yaml b/source/includes/steps-install-mongodb-on-debian.yaml index ff706c37d14..2f53439aadb 100644 --- a/source/includes/steps-install-mongodb-on-debian.yaml +++ b/source/includes/steps-install-mongodb-on-debian.yaml @@ -14,12 +14,12 @@ action: Debian 7 "Wheezy" .. code-block:: sh - echo "deb http://repo.mongodb.org/apt/debian wheezy/mongodb-org/3.3 main" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.4.list + echo "deb http://repo.mongodb.org/apt/debian wheezy/mongodb-org/testing main" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.4.list Debian 8 "Jessie" .. code-block:: sh - echo "deb http://repo.mongodb.org/apt/debian jessie/mongodb-org/3.3 main" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.4.list + echo "deb http://repo.mongodb.org/apt/debian jessie/mongodb-org/testing main" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.4.list Currently packages are only available for Debian 7 "Wheezy" and Debian 8 "Jessie". --- diff --git a/source/includes/steps-install-mongodb-on-red-hat.yaml b/source/includes/steps-install-mongodb-on-red-hat.yaml index 5730548b44d..c3fde34ddb0 100644 --- a/source/includes/steps-install-mongodb-on-red-hat.yaml +++ b/source/includes/steps-install-mongodb-on-red-hat.yaml @@ -17,7 +17,7 @@ action: code: | [mongodb-org-3.4] name=MongoDB Repository - baseurl=https://repo.mongodb.org/yum/{{distro_name}}/{{distro_release}}/mongodb-org/3.3/x86_64/ + baseurl=https://repo.mongodb.org/yum/{{distro_name}}/{{distro_release}}/mongodb-org/testing/x86_64/ gpgcheck=1 enabled=1 gpgkey=https://www.mongodb.org/static/pgp/server-3.4.asc @@ -49,9 +49,9 @@ replacement: title: Install the MongoDB packages and associated tools. stepnum: 2 ref: install -pre: | - When you install the packages, you choose whether to install the current - release or a previous one. This step provides the commands for both. +# pre: | +# When you install the packages, you choose whether to install the current +# release or a previous one. This step provides the commands for both. action: - pre: | To install the latest stable version of MongoDB, issue the following @@ -59,18 +59,18 @@ action: language: sh code: | sudo yum install -y mongodb-org - - pre: | - To install a specific release of MongoDB, specify each - component package individually and append the version number to the - package name, as in the following example: + # - pre: | + # To install a specific release of MongoDB, specify each + # component package individually and append the version number to the + # package name, as in the following example: - .. include:: /includes/release/pin-repo-to-version-yum.rst - - pre: | - You can specify any available version of MongoDB. However ``yum`` - will upgrade the packages when a newer version becomes available. To - prevent unintended upgrades, pin the package. To pin a package, add - the following ``exclude`` directive to your ``/etc/yum.conf`` file: - language: ini - code: | - exclude=mongodb-org,mongodb-org-server,mongodb-org-shell,mongodb-org-mongos,mongodb-org-tools + # .. include:: /includes/release/pin-repo-to-version-yum.rst + # - pre: | + # You can specify any available version of MongoDB. However ``yum`` + # will upgrade the packages when a newer version becomes available. To + # prevent unintended upgrades, pin the package. To pin a package, add + # the following ``exclude`` directive to your ``/etc/yum.conf`` file: + # language: ini + # code: | + # exclude=mongodb-org,mongodb-org-server,mongodb-org-shell,mongodb-org-mongos,mongodb-org-tools ... diff --git a/source/includes/steps-install-mongodb-on-suse.yaml b/source/includes/steps-install-mongodb-on-suse.yaml index 7554c4fce42..1e25e89ffe5 100644 --- a/source/includes/steps-install-mongodb-on-suse.yaml +++ b/source/includes/steps-install-mongodb-on-suse.yaml @@ -24,12 +24,12 @@ action: SUSE 11 .. code-block:: sh - sudo zypper addrepo --gpgcheck "https://repo.mongodb.org/zypper/suse/11/mongodb-org/3.3/x86_64/" mongodb + sudo zypper addrepo --gpgcheck "https://repo.mongodb.org/zypper/suse/11/mongodb-org/testing/x86_64/" mongodb SUSE 12 .. code-block:: sh - sudo zypper addrepo --gpgcheck "https://repo.mongodb.org/zypper/suse/12/mongodb-org/3.3/x86_64/" mongodb + sudo zypper addrepo --gpgcheck "https://repo.mongodb.org/zypper/suse/12/mongodb-org/testing/x86_64/" mongodb - heading: For versions of MongoDB *earlier* than 3.4 pre: | @@ -46,9 +46,9 @@ action: title: Install the MongoDB packages and associated tools. stepnum: 3 ref: install -pre: | - When you install the packages, you choose whether to install the current - release or a previous one. This step provides the commands for both. +# pre: | +# When you install the packages, you choose whether to install the current +# release or a previous one. This step provides the commands for both. action: - pre: | To install the latest stable version of MongoDB, issue the following @@ -56,19 +56,19 @@ action: language: sh code: | sudo zypper -n install mongodb-org - - pre: | - To install a specific release of MongoDB, specify each - component package individually and append the version number to the - package name, as in the following example: + # - pre: | + # To install a specific release of MongoDB, specify each + # component package individually and append the version number to the + # package name, as in the following example: - .. include:: /includes/release/pin-repo-suse.rst - - pre: | - You can specify any available version of MongoDB. However ``zypper`` - will upgrade the packages when a newer version becomes available. To - prevent unintended upgrades, pin the packages by running the following - command: + # .. include:: /includes/release/pin-repo-suse.rst + # - pre: | + # You can specify any available version of MongoDB. However ``zypper`` + # will upgrade the packages when a newer version becomes available. To + # prevent unintended upgrades, pin the packages by running the following + # command: - .. include:: /includes/release/pin-repo-suse-lock.rst + # .. include:: /includes/release/pin-repo-suse-lock.rst post: | Previous versions of MongoDB packages use a different repository location. Refer to the version of the documentation appropriate for diff --git a/source/includes/steps-install-mongodb-on-ubuntu.yaml b/source/includes/steps-install-mongodb-on-ubuntu.yaml index abb050d6cef..40e4e783474 100644 --- a/source/includes/steps-install-mongodb-on-ubuntu.yaml +++ b/source/includes/steps-install-mongodb-on-ubuntu.yaml @@ -22,17 +22,17 @@ action: Ubuntu 12.04 .. code-block:: sh - echo "deb http://repo.mongodb.org/apt/ubuntu precise/mongodb-org/3.3 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.4.list + echo "deb http://repo.mongodb.org/apt/ubuntu precise/mongodb-org/testing multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.4.list Ubuntu 14.04 .. code-block:: sh - echo "deb http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/3.3 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.4.list + echo "deb http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/testing multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.4.list Ubuntu 16.04 .. code-block:: sh - echo "deb http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.3 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.4.list + echo "deb http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/testing multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.4.list --- title: Reload local package database. stepnum: 3 @@ -47,9 +47,9 @@ action: title: Install the MongoDB packages. stepnum: 4 ref: install -pre: | - You can install either the latest stable version of MongoDB or a - specific version of MongoDB. +# pre: | +# You can install either the latest stable version of MongoDB or a +# specific version of MongoDB. action: - heading: text: Install the latest stable version of MongoDB. @@ -58,29 +58,29 @@ action: language: sh code: | sudo apt-get install -y mongodb-org - - heading: - text: Install a specific release of MongoDB. - character: "'" - pre: | - .. include:: /includes/release/pin-version-intro.rst - .. include:: /includes/release/pin-repo-to-version-deb.rst - .. include:: /includes/release/pin-version-outro-org.rst - - heading: - text: Pin a specific version of MongoDB. - character: "'" - pre: | - Although you can specify any available version of MongoDB, - ``apt-get`` will upgrade the packages when a newer version - becomes available. To prevent unintended upgrades, pin the - package. To pin the version of MongoDB at the currently - installed version, issue the following command sequence: - language: sh - code: | - echo "mongodb-org hold" | sudo dpkg --set-selections - echo "mongodb-org-server hold" | sudo dpkg --set-selections - echo "mongodb-org-shell hold" | sudo dpkg --set-selections - echo "mongodb-org-mongos hold" | sudo dpkg --set-selections - echo "mongodb-org-tools hold" | sudo dpkg --set-selections + # - heading: + # text: Install a specific release of MongoDB. + # character: "'" + # pre: | + # .. include:: /includes/release/pin-version-intro.rst + # .. include:: /includes/release/pin-repo-to-version-deb.rst + # .. include:: /includes/release/pin-version-outro-org.rst + # - heading: + # text: Pin a specific version of MongoDB. + # character: "'" + # pre: | + # Although you can specify any available version of MongoDB, + # ``apt-get`` will upgrade the packages when a newer version + # becomes available. To prevent unintended upgrades, pin the + # package. To pin the version of MongoDB at the currently + # installed version, issue the following command sequence: + # language: sh + # code: | + # echo "mongodb-org hold" | sudo dpkg --set-selections + # echo "mongodb-org-server hold" | sudo dpkg --set-selections + # echo "mongodb-org-shell hold" | sudo dpkg --set-selections + # echo "mongodb-org-mongos hold" | sudo dpkg --set-selections + # echo "mongodb-org-tools hold" | sudo dpkg --set-selections --- title: (Ubuntu 16.04-only) Create systemd service file stepnum: 5