mirror of https://github.com/mongodb/mongo
SERVER-80645 Amend test logic to properly understand Amazon 2023 (#18127)
GitOrigin-RevId: 291d68e86b37ae42d5b5ff1d78a6e0da7e7f0f55
This commit is contained in:
parent
94862ff496
commit
1de01927cf
|
|
@ -423,10 +423,12 @@ def test_install_compass(test_args: TestArgs):
|
|||
|
||||
exec_result = run_and_log(" ".join(cmd), end_on_error=False)
|
||||
|
||||
if exec_result.returncode != 0:
|
||||
if test_args['arch'] == 'x86_64' and test_args['package_manager'] != 'zypper':
|
||||
# install-compass does not work on platforms other than x86_64 and
|
||||
# currently cannot use zypper to install packages.
|
||||
# install-compass currently cannot use zypper to install packages. Ignore error code.
|
||||
if test_args['package_manager'] == 'zypper' or exec_result.returncode not in [
|
||||
0, # success
|
||||
3, # unsupported arch (compass only supports x86_64)
|
||||
6, # unsupported linux version
|
||||
]:
|
||||
raise RuntimeError("Failed to install compass")
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -93,7 +93,7 @@ This metapackage will install the mongo shell, import/export tools, other client
|
|||
%package -n mongodb-enterprise-server
|
||||
Summary: MongoDB database server (enterprise)
|
||||
Group: Applications/Databases
|
||||
Requires: openssl %{?el6:>= 1.0.1}, cyrus-sasl, cyrus-sasl-plain, cyrus-sasl-gssapi, %{timezone_pkg}
|
||||
Requires: shadow-utils, openssl %{?el6:>= 1.0.1}, cyrus-sasl, cyrus-sasl-plain, cyrus-sasl-gssapi, %{timezone_pkg}
|
||||
Conflicts: mongo-10gen, mongo-10gen-server, mongo-10gen-unstable, mongo-10gen-unstable-enterprise, mongo-10gen-unstable-enterprise-mongos, mongo-10gen-unstable-enterprise-server, mongo-10gen-unstable-enterprise-shell, mongo-10gen-unstable-enterprise-tools, mongo-10gen-unstable-mongos, mongo-10gen-unstable-server, mongo-10gen-unstable-shell, mongo-10gen-unstable-tools, mongo18-10gen, mongo18-10gen-server, mongo20-10gen, mongo20-10gen-server, mongodb, mongodb-server, mongodb-dev, mongodb-clients, mongodb-10gen, mongodb-10gen-enterprise, mongodb-10gen-unstable, mongodb-10gen-unstable-enterprise, mongodb-10gen-unstable-enterprise-mongos, mongodb-10gen-unstable-enterprise-server, mongodb-10gen-unstable-enterprise-shell, mongodb-10gen-unstable-enterprise-tools, mongodb-10gen-unstable-mongos, mongodb-10gen-unstable-server, mongodb-10gen-unstable-shell, mongodb-10gen-unstable-tools, mongodb-enterprise-unstable, mongodb-enterprise-unstable-mongos, mongodb-enterprise-unstable-server, mongodb-enterprise-unstable-shell, mongodb-enterprise-unstable-tools, mongodb-nightly, mongodb-org, mongodb-org-mongos, mongodb-org-server, mongodb-org-shell, mongodb-org-tools, mongodb-stable, mongodb18-10gen, mongodb20-10gen, mongodb-org-unstable, mongodb-org-unstable-mongos, mongodb-org-unstable-server, mongodb-org-unstable-shell, mongodb-org-unstable-tools
|
||||
Obsoletes: mongo-10gen-enterprise-server
|
||||
Provides: mongo-10gen-enterprise-server
|
||||
|
|
@ -171,7 +171,7 @@ This metapackage exists to simplfy acquisition of both the database tools and th
|
|||
%package -n mongodb-enterprise-database-tools-extra
|
||||
Summary: MongoDB extra database tools (enterprise)
|
||||
Group: Applications/Databases
|
||||
Requires: openssl %{?el6:>= 1.0.1}, cyrus-sasl, cyrus-sasl-plain, cyrus-sasl-gssapi, %{python_pkg}
|
||||
Requires: shadow-utils, openssl %{?el6:>= 1.0.1}, cyrus-sasl, cyrus-sasl-plain, cyrus-sasl-gssapi, %{python_pkg}
|
||||
Conflicts: mongo-10gen, mongo-10gen-server, mongo-10gen-unstable, mongo-10gen-unstable-enterprise, mongo-10gen-unstable-enterprise-mongos, mongo-10gen-unstable-enterprise-server, mongo-10gen-unstable-enterprise-shell, mongo-10gen-unstable-enterprise-tools, mongo-10gen-unstable-mongos, mongo-10gen-unstable-server, mongo-10gen-unstable-shell, mongo-10gen-unstable-tools, mongo18-10gen, mongo18-10gen-server, mongo20-10gen, mongo20-10gen-server, mongodb, mongodb-server, mongodb-dev, mongodb-clients, mongodb-10gen, mongodb-10gen-enterprise, mongodb-10gen-unstable, mongodb-10gen-unstable-enterprise, mongodb-10gen-unstable-enterprise-mongos, mongodb-10gen-unstable-enterprise-server, mongodb-10gen-unstable-enterprise-shell, mongodb-10gen-unstable-enterprise-tools, mongodb-10gen-unstable-mongos, mongodb-10gen-unstable-server, mongodb-10gen-unstable-shell, mongodb-10gen-unstable-tools, mongodb-enterprise-unstable, mongodb-enterprise-unstable-mongos, mongodb-enterprise-unstable-server, mongodb-enterprise-unstable-shell, mongodb-enterprise-unstable-tools, mongodb-nightly, mongodb-org, mongodb-org-mongos, mongodb-org-server, mongodb-org-shell, mongodb-org-tools, mongodb-stable, mongodb18-10gen, mongodb20-10gen, mongodb-org-unstable, mongodb-org-unstable-mongos, mongodb-org-unstable-server, mongodb-org-unstable-shell, mongodb-org-unstable-tools, mongodb-org-database-tools-extra, mongodb-org-unstable-database-tools-extra, mongodb-enterprise-unstable-database-tools-extra, mongodb-enterprise-tools <= 4.2
|
||||
|
||||
%description -n mongodb-enterprise-database-tools-extra
|
||||
|
|
@ -195,7 +195,7 @@ This package contains extra database tools, like the Compass installer, mongodec
|
|||
%package -n mongodb-enterprise-cryptd
|
||||
Summary: MongoDB Client Side Field Level Encryption Support Daemon (enterprise)
|
||||
Group: Applications/Databases
|
||||
Requires: openssl %{?el6:>= 1.0.1}, cyrus-sasl
|
||||
Requires: shadow-utils, openssl %{?el6:>= 1.0.1}, cyrus-sasl
|
||||
Conflicts: mongodb-enterprise-unstable-cryptd
|
||||
|
||||
%description -n mongodb-enterprise-cryptd
|
||||
|
|
|
|||
|
|
@ -92,7 +92,7 @@ This metapackage will install the mongo shell, import/export tools, other client
|
|||
%package -n mongodb-enterprise-unstable-server
|
||||
Summary: MongoDB database server (enterprise)
|
||||
Group: Applications/Databases
|
||||
Requires: openssl %{?el6:>= 1.0.1}, cyrus-sasl, cyrus-sasl-plain, cyrus-sasl-gssapi, %{timezone_pkg}
|
||||
Requires: shadow-utils, openssl %{?el6:>= 1.0.1}, cyrus-sasl, cyrus-sasl-plain, cyrus-sasl-gssapi, %{timezone_pkg}
|
||||
Conflicts: mongo-10gen, mongo-10gen-enterprise, mongo-10gen-enterprise-server, mongo-10gen-server, mongo-10gen-unstable, mongo-10gen-unstable-enterprise, mongo-10gen-unstable-enterprise-mongos, mongo-10gen-unstable-enterprise-server, mongo-10gen-unstable-enterprise-shell, mongo-10gen-unstable-enterprise-tools, mongo-10gen-unstable-mongos, mongo-10gen-unstable-server, mongo-10gen-unstable-shell, mongo-10gen-unstable-tools, mongo18-10gen, mongo18-10gen-server, mongo20-10gen, mongo20-10gen-server, mongodb, mongodb-server, mongodb-dev, mongodb-clients, mongodb-10gen, mongodb-10gen-enterprise, mongodb-10gen-unstable, mongodb-10gen-unstable-enterprise, mongodb-10gen-unstable-enterprise-mongos, mongodb-10gen-unstable-enterprise-server, mongodb-10gen-unstable-enterprise-shell, mongodb-10gen-unstable-enterprise-tools, mongodb-10gen-unstable-mongos, mongodb-10gen-unstable-server, mongodb-10gen-unstable-shell, mongodb-10gen-unstable-tools, mongodb-enterprise, mongodb-enterprise-mongos, mongodb-enterprise-server, mongodb-enterprise-shell, mongodb-enterprise-tools, mongodb-nightly, mongodb-org, mongodb-org-mongos, mongodb-org-server, mongodb-org-shell, mongodb-org-tools, mongodb-stable, mongodb18-10gen, mongodb20-10gen, mongodb-org-unstable, mongodb-org-unstable-mongos, mongodb-org-unstable-server, mongodb-org-unstable-shell, mongodb-org-unstable-tools
|
||||
|
||||
%description -n mongodb-enterprise-unstable-server
|
||||
|
|
@ -164,7 +164,7 @@ This metapackage exists to simplfy acquisition of both the database tools and th
|
|||
%package -n mongodb-enterprise-unstable-database-tools-extra
|
||||
Summary: MongoDB extra database tools (enterprise)
|
||||
Group: Applications/Databases
|
||||
Requires: openssl %{?el6:>= 1.0.1}, cyrus-sasl, cyrus-sasl-plain, cyrus-sasl-gssapi, %{python_pkg}
|
||||
Requires: shadow-utils, openssl %{?el6:>= 1.0.1}, cyrus-sasl, cyrus-sasl-plain, cyrus-sasl-gssapi, %{python_pkg}
|
||||
Conflicts: mongo-10gen, mongo-10gen-enterprise, mongo-10gen-enterprise-server, mongo-10gen-server, mongo-10gen-unstable, mongo-10gen-unstable-enterprise, mongo-10gen-unstable-enterprise-mongos, mongo-10gen-unstable-enterprise-server, mongo-10gen-unstable-enterprise-shell, mongo-10gen-unstable-enterprise-tools, mongo-10gen-unstable-mongos, mongo-10gen-unstable-server, mongo-10gen-unstable-shell, mongo-10gen-unstable-tools, mongo18-10gen, mongo18-10gen-server, mongo20-10gen, mongo20-10gen-server, mongodb, mongodb-server, mongodb-dev, mongodb-clients, mongodb-10gen, mongodb-10gen-enterprise, mongodb-10gen-unstable, mongodb-10gen-unstable-enterprise, mongodb-10gen-unstable-enterprise-mongos, mongodb-10gen-unstable-enterprise-server, mongodb-10gen-unstable-enterprise-shell, mongodb-10gen-unstable-enterprise-tools, mongodb-10gen-unstable-mongos, mongodb-10gen-unstable-server, mongodb-10gen-unstable-shell, mongodb-10gen-unstable-tools, mongodb-enterprise, mongodb-enterprise-mongos, mongodb-enterprise-server, mongodb-enterprise-shell, mongodb-enterprise-tools, mongodb-nightly, mongodb-org, mongodb-org-mongos, mongodb-org-server, mongodb-org-shell, mongodb-org-tools, mongodb-stable, mongodb18-10gen, mongodb20-10gen, mongodb-org-unstable, mongodb-org-unstable-mongos, mongodb-org-unstable-server, mongodb-org-unstable-shell, mongodb-org-unstable-tools, mongodb-org-database-tools-extra, mongodb-org-unstable-database-tools-extra, mongodb-enterprise-database-tools-extra, mongodb-enterprise-unstable-tools <= 4.2
|
||||
|
||||
%description -n mongodb-enterprise-unstable-database-tools-extra
|
||||
|
|
@ -188,7 +188,7 @@ This package contains extra database tools, like the Compass installer, mongodec
|
|||
%package -n mongodb-enterprise-unstable-cryptd
|
||||
Summary: MongoDB Client Side Field Level Encryption Support Daemon (enterprise)
|
||||
Group: Applications/Databases
|
||||
Requires: openssl %{?el6:>= 1.0.1}, cyrus-sasl
|
||||
Requires: shadow-utils, openssl %{?el6:>= 1.0.1}, cyrus-sasl
|
||||
Conflicts: mongodb-enterprise-cryptd
|
||||
|
||||
%description -n mongodb-enterprise-unstable-cryptd
|
||||
|
|
|
|||
|
|
@ -92,7 +92,7 @@ This metapackage will install the mongo shell, import/export tools, other client
|
|||
%package -n mongodb-enterprise-unstable-server
|
||||
Summary: MongoDB database server (enterprise)
|
||||
Group: Applications/Databases
|
||||
Requires: openssl, cyrus-sasl, cyrus-sasl-plain, cyrus-sasl-gssapi, %{timezone_pkg}
|
||||
Requires: shadow-utils, openssl, cyrus-sasl, cyrus-sasl-plain, cyrus-sasl-gssapi, %{timezone_pkg}
|
||||
Conflicts: mongo-10gen, mongo-10gen-enterprise, mongo-10gen-enterprise-server, mongo-10gen-server, mongo-10gen-unstable, mongo-10gen-unstable-enterprise, mongo-10gen-unstable-enterprise-mongos, mongo-10gen-unstable-enterprise-server, mongo-10gen-unstable-enterprise-shell, mongo-10gen-unstable-enterprise-tools, mongo-10gen-unstable-mongos, mongo-10gen-unstable-server, mongo-10gen-unstable-shell, mongo-10gen-unstable-tools, mongo18-10gen, mongo18-10gen-server, mongo20-10gen, mongo20-10gen-server, mongodb, mongodb-server, mongodb-dev, mongodb-clients, mongodb-10gen, mongodb-10gen-enterprise, mongodb-10gen-unstable, mongodb-10gen-unstable-enterprise, mongodb-10gen-unstable-enterprise-mongos, mongodb-10gen-unstable-enterprise-server, mongodb-10gen-unstable-enterprise-shell, mongodb-10gen-unstable-enterprise-tools, mongodb-10gen-unstable-mongos, mongodb-10gen-unstable-server, mongodb-10gen-unstable-shell, mongodb-10gen-unstable-tools, mongodb-enterprise, mongodb-enterprise-mongos, mongodb-enterprise-server, mongodb-enterprise-shell, mongodb-enterprise-tools, mongodb-nightly, mongodb-org, mongodb-org-mongos, mongodb-org-server, mongodb-org-shell, mongodb-org-tools, mongodb-stable, mongodb18-10gen, mongodb20-10gen, mongodb-org-unstable, mongodb-org-unstable-mongos, mongodb-org-unstable-server, mongodb-org-unstable-shell, mongodb-org-unstable-tools
|
||||
|
||||
%if 0%{?suse_version} >= 1210 || 0%{?rhel} >= 700 || 0%{?fedora} >= 15
|
||||
|
|
@ -171,7 +171,7 @@ This metapackage exists to simplfy acquisition of both the database tools and th
|
|||
%package -n mongodb-enterprise-unstable-database-tools-extra
|
||||
Summary: MongoDB extra database tools (enterprise)
|
||||
Group: Applications/Databases
|
||||
Requires: openssl, cyrus-sasl, cyrus-sasl-plain, cyrus-sasl-gssapi, %{python_pkg}
|
||||
Requires: shadow-utils, openssl, cyrus-sasl, cyrus-sasl-plain, cyrus-sasl-gssapi, %{python_pkg}
|
||||
Conflicts: mongo-10gen, mongo-10gen-enterprise, mongo-10gen-enterprise-server, mongo-10gen-server, mongo-10gen-unstable, mongo-10gen-unstable-enterprise, mongo-10gen-unstable-enterprise-mongos, mongo-10gen-unstable-enterprise-server, mongo-10gen-unstable-enterprise-shell, mongo-10gen-unstable-enterprise-tools, mongo-10gen-unstable-mongos, mongo-10gen-unstable-server, mongo-10gen-unstable-shell, mongo-10gen-unstable-tools, mongo18-10gen, mongo18-10gen-server, mongo20-10gen, mongo20-10gen-server, mongodb, mongodb-server, mongodb-dev, mongodb-clients, mongodb-10gen, mongodb-10gen-enterprise, mongodb-10gen-unstable, mongodb-10gen-unstable-enterprise, mongodb-10gen-unstable-enterprise-mongos, mongodb-10gen-unstable-enterprise-server, mongodb-10gen-unstable-enterprise-shell, mongodb-10gen-unstable-enterprise-tools, mongodb-10gen-unstable-mongos, mongodb-10gen-unstable-server, mongodb-10gen-unstable-shell, mongodb-10gen-unstable-tools, mongodb-enterprise, mongodb-enterprise-mongos, mongodb-enterprise-server, mongodb-enterprise-shell, mongodb-enterprise-tools, mongodb-nightly, mongodb-org, mongodb-org-mongos, mongodb-org-server, mongodb-org-shell, mongodb-org-tools, mongodb-stable, mongodb18-10gen, mongodb20-10gen, mongodb-org-unstable, mongodb-org-unstable-mongos, mongodb-org-unstable-server, mongodb-org-unstable-shell, mongodb-org-unstable-tools, mongodb-org-database-tools-extra, mongodb-org-unstable-database-tools-extra, mongodb-enterprise-database-tools-extra, mongodb-enterprise-unstable-tools <= 4.2
|
||||
|
||||
%description -n mongodb-enterprise-unstable-database-tools-extra
|
||||
|
|
@ -195,7 +195,7 @@ This package contains extra database tools, like the Compass installer, mongodec
|
|||
%package -n mongodb-enterprise-unstable-cryptd
|
||||
Summary: MongoDB Client Side Field Level Encryption Support Daemon (enterprise)
|
||||
Group: Applications/Databases
|
||||
Requires: openssl, cyrus-sasl
|
||||
Requires: shadow-utils, openssl, cyrus-sasl
|
||||
Conflicts: mongodb-enterprise-cryptd
|
||||
|
||||
%description -n mongodb-enterprise-unstable-cryptd
|
||||
|
|
|
|||
|
|
@ -93,7 +93,7 @@ This metapackage will install the mongo shell, import/export tools, other client
|
|||
%package -n mongodb-enterprise-server
|
||||
Summary: MongoDB database server (enterprise)
|
||||
Group: Applications/Databases
|
||||
Requires: openssl, cyrus-sasl, cyrus-sasl-plain, cyrus-sasl-gssapi, %{timezone_pkg}
|
||||
Requires: shadow-utils, openssl, cyrus-sasl, cyrus-sasl-plain, cyrus-sasl-gssapi, %{timezone_pkg}
|
||||
Conflicts: mongo-10gen, mongo-10gen-server, mongo-10gen-unstable, mongo-10gen-unstable-enterprise, mongo-10gen-unstable-enterprise-mongos, mongo-10gen-unstable-enterprise-server, mongo-10gen-unstable-enterprise-shell, mongo-10gen-unstable-enterprise-tools, mongo-10gen-unstable-mongos, mongo-10gen-unstable-server, mongo-10gen-unstable-shell, mongo-10gen-unstable-tools, mongo18-10gen, mongo18-10gen-server, mongo20-10gen, mongo20-10gen-server, mongodb, mongodb-server, mongodb-dev, mongodb-clients, mongodb-10gen, mongodb-10gen-enterprise, mongodb-10gen-unstable, mongodb-10gen-unstable-enterprise, mongodb-10gen-unstable-enterprise-mongos, mongodb-10gen-unstable-enterprise-server, mongodb-10gen-unstable-enterprise-shell, mongodb-10gen-unstable-enterprise-tools, mongodb-10gen-unstable-mongos, mongodb-10gen-unstable-server, mongodb-10gen-unstable-shell, mongodb-10gen-unstable-tools, mongodb-enterprise-unstable, mongodb-enterprise-unstable-mongos, mongodb-enterprise-unstable-server, mongodb-enterprise-unstable-shell, mongodb-enterprise-unstable-tools, mongodb-nightly, mongodb-org, mongodb-org-mongos, mongodb-org-server, mongodb-org-shell, mongodb-org-tools, mongodb-stable, mongodb18-10gen, mongodb20-10gen, mongodb-org-unstable, mongodb-org-unstable-mongos, mongodb-org-unstable-server, mongodb-org-unstable-shell, mongodb-org-unstable-tools
|
||||
Obsoletes: mongo-10gen-enterprise-server
|
||||
Provides: mongo-10gen-enterprise-server
|
||||
|
|
@ -202,7 +202,7 @@ This package contains extra database tools, like the Compass installer, mongodec
|
|||
%package -n mongodb-enterprise-cryptd
|
||||
Summary: MongoDB Client Side Field Level Encryption Support Daemon (enterprise)
|
||||
Group: Applications/Databases
|
||||
Requires: openssl, cyrus-sasl
|
||||
Requires: shadow-utils, openssl, cyrus-sasl
|
||||
Conflicts: mongodb-enterprise-unstable-cryptd
|
||||
|
||||
%description -n mongodb-enterprise-cryptd
|
||||
|
|
|
|||
|
|
@ -94,7 +94,7 @@ This metapackage will install the mongo shell, import/export tools, other client
|
|||
%package -n mongodb-org-server
|
||||
Summary: MongoDB database server
|
||||
Group: Applications/Databases
|
||||
Requires: openssl %{?el6:>= 1.0.1}, %{timezone_pkg}
|
||||
Requires: shadow-utils, openssl %{?el6:>= 1.0.1}, %{timezone_pkg}
|
||||
Conflicts: mongo-10gen-enterprise, mongo-10gen-enterprise-server, mongo-10gen-unstable, mongo-10gen-unstable-enterprise, mongo-10gen-unstable-enterprise-mongos, mongo-10gen-unstable-enterprise-server, mongo-10gen-unstable-enterprise-shell, mongo-10gen-unstable-enterprise-tools, mongo-10gen-unstable-mongos, mongo-10gen-unstable-server, mongo-10gen-unstable-shell, mongo-10gen-unstable-tools, mongo18-10gen, mongo18-10gen-server, mongo20-10gen, mongo20-10gen-server, mongodb, mongodb-server, mongodb-dev, mongodb-clients, mongodb-10gen, mongodb-10gen-enterprise, mongodb-10gen-unstable, mongodb-10gen-unstable-enterprise, mongodb-10gen-unstable-enterprise-mongos, mongodb-10gen-unstable-enterprise-server, mongodb-10gen-unstable-enterprise-shell, mongodb-10gen-unstable-enterprise-tools, mongodb-10gen-unstable-mongos, mongodb-10gen-unstable-server, mongodb-10gen-unstable-shell, mongodb-10gen-unstable-tools, mongodb-enterprise, mongodb-enterprise-mongos, mongodb-enterprise-server, mongodb-enterprise-shell, mongodb-enterprise-tools, mongodb-nightly, mongodb-org-unstable, mongodb-org-unstable-mongos, mongodb-org-unstable-server, mongodb-org-unstable-shell, mongodb-org-unstable-tools, mongodb-stable, mongodb18-10gen, mongodb20-10gen, mongodb-enterprise-unstable, mongodb-enterprise-unstable-mongos, mongodb-enterprise-unstable-server, mongodb-enterprise-unstable-shell, mongodb-enterprise-unstable-tools
|
||||
Obsoletes: mongo-10gen-server
|
||||
Provides: mongo-10gen-server
|
||||
|
|
|
|||
|
|
@ -91,7 +91,7 @@ This metapackage will install the mongo shell, import/export tools, other client
|
|||
%package -n mongodb-org-unstable-server
|
||||
Summary: MongoDB database server
|
||||
Group: Applications/Databases
|
||||
Requires: openssl %{?el6:>= 1.0.1}, %{timezone_pkg}
|
||||
Requires: shadow-utils, openssl %{?el6:>= 1.0.1}, %{timezone_pkg}
|
||||
Conflicts: mongo-10gen, mongo-10gen-enterprise, mongo-10gen-enterprise-server, mongo-10gen-server, mongo-10gen-unstable-enterprise, mongo-10gen-unstable-enterprise-mongos, mongo-10gen-unstable-enterprise-server, mongo-10gen-unstable-enterprise-shell, mongo-10gen-unstable-enterprise-tools, mongo-10gen-mongos, mongo-10gen-shell, mongo-10gen-tools, mongo18-10gen, mongo18-10gen-server, mongo20-10gen, mongo20-10gen-server, mongodb, mongodb-server, mongodb-dev, mongodb-clients, mongodb-10gen, mongodb-10gen-enterprise, mongodb-10gen-unstable, mongodb-10gen-unstable-enterprise, mongodb-10gen-unstable-enterprise-mongos, mongodb-10gen-unstable-enterprise-server, mongodb-10gen-unstable-enterprise-shell, mongodb-10gen-unstable-enterprise-tools, mongodb-10gen-unstable-mongos, mongodb-10gen-unstable-server, mongodb-10gen-unstable-shell, mongodb-10gen-unstable-tools, mongodb-enterprise, mongodb-enterprise-mongos, mongodb-enterprise-server, mongodb-enterprise-shell, mongodb-enterprise-tools, mongodb-nightly, mongodb-org, mongodb-org-mongos, mongodb-org-server, mongodb-org-shell, mongodb-org-tools, mongodb-stable, mongodb18-10gen, mongodb20-10gen, mongodb-enterprise-unstable, mongodb-enterprise-unstable-mongos, mongodb-enterprise-unstable-server, mongodb-enterprise-unstable-shell, mongodb-enterprise-unstable-tools
|
||||
|
||||
%description -n mongodb-org-unstable-server
|
||||
|
|
|
|||
|
|
@ -91,7 +91,7 @@ This metapackage will install the mongo shell, import/export tools, other client
|
|||
%package -n mongodb-org-unstable-server
|
||||
Summary: MongoDB database server
|
||||
Group: Applications/Databases
|
||||
Requires: openssl, %{timezone_pkg}
|
||||
Requires: shadow-utils, openssl, %{timezone_pkg}
|
||||
Conflicts: mongo-10gen, mongo-10gen-enterprise, mongo-10gen-enterprise-server, mongo-10gen-server, mongo-10gen-unstable-enterprise, mongo-10gen-unstable-enterprise-mongos, mongo-10gen-unstable-enterprise-server, mongo-10gen-unstable-enterprise-shell, mongo-10gen-unstable-enterprise-tools, mongo-10gen-mongos, mongo-10gen-shell, mongo-10gen-tools, mongo18-10gen, mongo18-10gen-server, mongo20-10gen, mongo20-10gen-server, mongodb, mongodb-server, mongodb-dev, mongodb-clients, mongodb-10gen, mongodb-10gen-enterprise, mongodb-10gen-unstable, mongodb-10gen-unstable-enterprise, mongodb-10gen-unstable-enterprise-mongos, mongodb-10gen-unstable-enterprise-server, mongodb-10gen-unstable-enterprise-shell, mongodb-10gen-unstable-enterprise-tools, mongodb-10gen-unstable-mongos, mongodb-10gen-unstable-server, mongodb-10gen-unstable-shell, mongodb-10gen-unstable-tools, mongodb-enterprise, mongodb-enterprise-mongos, mongodb-enterprise-server, mongodb-enterprise-shell, mongodb-enterprise-tools, mongodb-nightly, mongodb-org, mongodb-org-mongos, mongodb-org-server, mongodb-org-shell, mongodb-org-tools, mongodb-stable, mongodb18-10gen, mongodb20-10gen, mongodb-enterprise-unstable, mongodb-enterprise-unstable-mongos, mongodb-enterprise-unstable-server, mongodb-enterprise-unstable-shell, mongodb-enterprise-unstable-tools
|
||||
|
||||
%if 0%{?suse_version} >= 1210 || 0%{?rhel} >= 700 || 0%{?fedora} >= 15
|
||||
|
|
|
|||
|
|
@ -93,13 +93,14 @@ This metapackage will install the mongo shell, import/export tools, other client
|
|||
%package -n mongodb-org-server
|
||||
Summary: MongoDB database server
|
||||
Group: Applications/Databases
|
||||
Requires: openssl, %{timezone_pkg}
|
||||
Requires: shadow-utils, openssl, %{timezone_pkg}
|
||||
Conflicts: mongo-10gen-enterprise, mongo-10gen-enterprise-server, mongo-10gen-unstable, mongo-10gen-unstable-enterprise, mongo-10gen-unstable-enterprise-mongos, mongo-10gen-unstable-enterprise-server, mongo-10gen-unstable-enterprise-shell, mongo-10gen-unstable-enterprise-tools, mongo-10gen-unstable-mongos, mongo-10gen-unstable-server, mongo-10gen-unstable-shell, mongo-10gen-unstable-tools, mongo18-10gen, mongo18-10gen-server, mongo20-10gen, mongo20-10gen-server, mongodb, mongodb-server, mongodb-dev, mongodb-clients, mongodb-10gen, mongodb-10gen-enterprise, mongodb-10gen-unstable, mongodb-10gen-unstable-enterprise, mongodb-10gen-unstable-enterprise-mongos, mongodb-10gen-unstable-enterprise-server, mongodb-10gen-unstable-enterprise-shell, mongodb-10gen-unstable-enterprise-tools, mongodb-10gen-unstable-mongos, mongodb-10gen-unstable-server, mongodb-10gen-unstable-shell, mongodb-10gen-unstable-tools, mongodb-enterprise, mongodb-enterprise-mongos, mongodb-enterprise-server, mongodb-enterprise-shell, mongodb-enterprise-tools, mongodb-nightly, mongodb-org-unstable, mongodb-org-unstable-mongos, mongodb-org-unstable-server, mongodb-org-unstable-shell, mongodb-org-unstable-tools, mongodb-stable, mongodb18-10gen, mongodb20-10gen, mongodb-enterprise-unstable, mongodb-enterprise-unstable-mongos, mongodb-enterprise-unstable-server, mongodb-enterprise-unstable-shell, mongodb-enterprise-unstable-tools
|
||||
Obsoletes: mongo-10gen-server
|
||||
Provides: mongo-10gen-server
|
||||
|
||||
%if 0%{?suse_version} >= 1210 || 0%{?rhel} >= 700 || 0%{?fedora} >= 15
|
||||
BuildRequires: systemd-rpm-macros
|
||||
Requires: shadow-utils
|
||||
%else
|
||||
BuildRequires: systemd
|
||||
%{?systemd_requires}
|
||||
|
|
|
|||
|
|
@ -297,7 +297,7 @@ def is_supported_linux():
|
|||
# /etc/os-release provided by systemd are these two. It's best here to
|
||||
# assume the rest will succeed and take the ones that fail individually.
|
||||
if os_id == "amzn":
|
||||
if version_id.startswith("2018") or version_id.startswith("2016"):
|
||||
if version_id.startswith("2018") or version_id.startswith("2016") or version_id.startswith("2023"):
|
||||
return False
|
||||
if os_id == "opensuse":
|
||||
return False
|
||||
|
|
@ -313,31 +313,31 @@ def prerequisites_satisfied(package_manager):
|
|||
LOG.error('You are using an unsupported platform.\n' \
|
||||
'Please visit: https://compass.mongodb.com/community-supported-platforms' \
|
||||
' to view available community supported packages.')
|
||||
return False
|
||||
return 2
|
||||
|
||||
if platform.machine() != 'x86_64':
|
||||
LOG.error('Sorry, MongoDB Compass is only supported on 64-bit Intel platforms.' \
|
||||
' If you believe you\'re seeing this message in error please open a' \
|
||||
' ticket on the SERVER project at https://jira.mongodb.org/')
|
||||
return False
|
||||
return 3
|
||||
|
||||
if sys.platform == 'osx' and get_osx_version() < SUPPORTED_OSX_VERSION:
|
||||
LOG.error('You are using an unsupported Mac OSX version. Please upgrade\n' \
|
||||
'to at least version 10.10 (Yosemite) to install Compass.')
|
||||
return False
|
||||
return 4
|
||||
|
||||
if sys.platform.startswith('linux'):
|
||||
if os.getuid() != 0:
|
||||
LOG.error('You must run this script as root.')
|
||||
return False
|
||||
return 5
|
||||
|
||||
if not is_supported_linux():
|
||||
LOG.error('You are using an unsupported Linux distribution.\n' \
|
||||
'Please visit: https://compass.mongodb.com/community-supported-platforms' \
|
||||
' to view available community supported packages.')
|
||||
return False
|
||||
return 6
|
||||
|
||||
return True
|
||||
return 0
|
||||
|
||||
|
||||
def get_package_type(package_manager):
|
||||
|
|
@ -360,8 +360,9 @@ def download_and_install_compass():
|
|||
|
||||
package_manager = get_package_manager()
|
||||
|
||||
if not prerequisites_satisfied(package_manager):
|
||||
return sys.exit(1)
|
||||
prereq_error = prerequisites_satisfied(package_manager)
|
||||
if prereq_error != 0:
|
||||
return sys.exit(prereq_error)
|
||||
|
||||
_, filename = tempfile.mkstemp(suffix=PKG_MANAGER_SUFFIXES[package_manager])
|
||||
is_successful = True
|
||||
|
|
|
|||
Loading…
Reference in New Issue