You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I set version in global.pp to 3.4
$version = '3.4',
the client puppet run updates the yum repo correctly to manage this version
[mongodb]
baseurl=http://repo.mongodb.org/yum/redhat/7/mongodb-org/3.4/x86_64/
enabled=1
gpgcheck=0
name=MongoDB/10gen Repository
showing the parameter is parsed and taken correctly,
however this also impacts the package name on the client install,
Output log
Error: Could not update: Execution of '/usr/bin/yum -d 0 -e 0 -y install mongodb-org-server-3.4' returned 1: Error: Nothing to do
Error: /Stage[main]/Mongodb::Server::Install/Package[mongodb_server]/ensure: change from purged to 3.4 failed: Could not update: Execution of '/usr/bin/yum -d 0 -e 0 -y install mongodb-org-server-3.4' returned 1: Error: Nothing to do
Any additional information you'd like to impart
the package is mongodb-org-server
====================================================== N/S matched: mongodb-org ======================================================
mongodb-org.x86_64 : MongoDB open source document-oriented database system (metapackage)
mongodb-org-mongos.x86_64 : MongoDB sharded cluster query router
mongodb-org-server.x86_64 : MongoDB database server
mongodb-org-shell.x86_64 : MongoDB shell client
mongodb-org-tools.x86_64 : MongoDB tools
This package is available - with the right version coming from the correct yum repo configured by puppet from the mongodb repo
Available Packages
Name : mongodb-org-server
Arch : x86_64
Version : 3.4.5
Release : 1.el7
Size : 20 M
Repo : mongodb
Summary : MongoDB database server
URL : http://www.mongodb.org
License : AGPL 3.0
Description : MongoDB is built for scalability, performance and high availability, scaling from single server deployments to large,
: complex multi-site architectures. By leveraging in-memory computing, MongoDB provides high performance for both reads
: and writes. MongoDB’s native replication and automated failover enable enterprise-grade reliability and operational
: flexibility.
:
: MongoDB is an open-source database used by companies of all sizes, across all industries and for a wide variety of
: applications. It is an agile database that allows schemas to change quickly as applications evolve, while still
: providing the functionality developers expect from traditional databases, such as secondary indexes, a full query
: language and strict consistency.
:
: MongoDB has a rich client ecosystem including hadoop integration, officially supported drivers for 10 programming
: languages and environments, as well as 40 drivers supported by the user community.
:
: MongoDB features:
: * JSON Data Model with Dynamic Schemas
: * Auto-Sharding for Horizontal Scalability
: * Built-In Replication for High Availability
: * Rich Secondary Indexes, including geospatial
: * TTL indexes
: * Text Search
: * Aggregation Framework & Native MapReduce
:
: This package contains the MongoDB server software, default configuration files, and systemd service files.
The only way around this is to hardcode the package name in the parameters to be mongdb-org, while this will technically work, it defaults the object of not doing this as the external repos reference mongodb-org packages, the distro packages versions are mongodb-server without the -org suffix.
Reading this bug the debian package manager had this problem a long time ago, but it looks as if it's either a regression or was never addressed for yum (or I've just not understood the usage of the module).
The text was updated successfully, but these errors were encountered:
migrated from JIRA
Affected Puppet, Ruby, OS and module versions/distributions
I set version in global.pp to 3.4
$version = '3.4',
the client puppet run updates the yum repo correctly to manage this version
[mongodb]
baseurl=http://repo.mongodb.org/yum/redhat/7/mongodb-org/3.4/x86_64/
enabled=1
gpgcheck=0
name=MongoDB/10gen Repository
showing the parameter is parsed and taken correctly,
however this also impacts the package name on the client install,
Output log
Any additional information you'd like to impart
the package is mongodb-org-server
====================================================== N/S matched: mongodb-org ======================================================
mongodb-org.x86_64 : MongoDB open source document-oriented database system (metapackage)
mongodb-org-mongos.x86_64 : MongoDB sharded cluster query router
mongodb-org-server.x86_64 : MongoDB database server
mongodb-org-shell.x86_64 : MongoDB shell client
mongodb-org-tools.x86_64 : MongoDB tools
This package is available - with the right version coming from the correct yum repo configured by puppet from the mongodb repo
Available Packages
Name : mongodb-org-server
Arch : x86_64
Version : 3.4.5
Release : 1.el7
Size : 20 M
Repo : mongodb
Summary : MongoDB database server
URL : http://www.mongodb.org
License : AGPL 3.0
Description : MongoDB is built for scalability, performance and high availability, scaling from single server deployments to large,
: complex multi-site architectures. By leveraging in-memory computing, MongoDB provides high performance for both reads
: and writes. MongoDB’s native replication and automated failover enable enterprise-grade reliability and operational
: flexibility.
:
: MongoDB is an open-source database used by companies of all sizes, across all industries and for a wide variety of
: applications. It is an agile database that allows schemas to change quickly as applications evolve, while still
: providing the functionality developers expect from traditional databases, such as secondary indexes, a full query
: language and strict consistency.
:
: MongoDB has a rich client ecosystem including hadoop integration, officially supported drivers for 10 programming
: languages and environments, as well as 40 drivers supported by the user community.
:
: MongoDB features:
: * JSON Data Model with Dynamic Schemas
: * Auto-Sharding for Horizontal Scalability
: * Built-In Replication for High Availability
: * Rich Secondary Indexes, including geospatial
: * TTL indexes
: * Text Search
: * Aggregation Framework & Native MapReduce
:
: This package contains the MongoDB server software, default configuration files, and systemd service files.
The only way around this is to hardcode the package name in the parameters to be mongdb-org, while this will technically work, it defaults the object of not doing this as the external repos reference mongodb-org packages, the distro packages versions are mongodb-server without the -org suffix.
Reading this bug the debian package manager had this problem a long time ago, but it looks as if it's either a regression or was never addressed for yum (or I've just not understood the usage of the module).
The text was updated successfully, but these errors were encountered: