All notable changes to this project will be documented in this file. Each new release typically also includes the latest modulesync defaults. These should not affect the functionality of the module.
v4.1.1 (2022-03-11)
Fixed bugs:
Closed issues:
mongodb::repo
is always include for some family #636
v4.1.0 (2021-10-28)
Implemented enhancements:
Fixed bugs:
Closed issues:
- Fails to install on Ubuntu 20.04 #627
- Missing key for Apt for installing 5.0 mongo #614
- Error: Could not prefetch mongodb_replset provider 'mongo': 765: unexpected token at 'WARNING: ) is deprecated and may be removed in the next major release. Please use secondaryOk() #612
- 4.x version. Initialization of replset and user creation problem. #583
v4.0.0 (2021-09-03)
Breaking changes:
- Drop Puppet 5/Add puppet 7 support #617 (root-expert)
- Drop Ubuntu 16/Add Ubuntu 20 support #616 (root-expert)
Implemented enhancements:
- Support managing selinux #413
- Add Debian 10 support #619 (root-expert)
- Use Puppet-Datatype Sensitive for Passwords #611 (cocker-cc)
- Change set_parameter to be an array of strings #595 (ZloeSabo)
- Use rs.secondaryOk on versions that deprecated rs.slaveOk #594 (svenbs)
- Add MongoDB 4.4 repository signing key. #592 (dhs-rec)
Fixed bugs:
- Existence of /root/.mongorc.js triggers mongod restart #449
- Fix MongoDB installation on RedHat family #606 (hdep)
- Update mongodb-shard.conf.erb #591 (andreish)
- Fix mongorc.js file when authentication is not enabled. #590 (vladpetrus)
- Fix digestPassword typo mongodb.rb #589 (covidium)
Closed issues:
- MongoDB 4.2.10 starts to emit warnings about slaveOk() being deprecated, which breaks the module #596
- Can't use mongodb repository on debian 9 #529
Merged pull requests:
- puppet-lint: fix top_scope_facts warnings #621 (bastelfreak)
- Allow stdlib 8.x and apt 8.x #620 (smortex)
- modulesync 3.0.0 & puppet-lint updates #586 (bastelfreak)
- Describe disabling logpath to make syslog work #585 (lennartkoopmann)
- Use voxpupuli-acceptance #580 (ekohl)
v3.1.0 (2020-02-11)
Implemented enhancements:
- restrict opsmanager conf file permissions for better security #563 (FLiPp3r90)
- rebased PR#308 to allow other databases in the format 'role@db' for mongodb_user #432 (pecharmin)
Fixed bugs:
- Wrong APT-key #546
- Mongo 4.0.x: unable to create user #525
- user creation idempotency issues #412
- fix(is_master-fact): use --ssl if --sslPEMKeyFile or --sslCAFile is s… #573 (buchstabensalat)
- Fixed the problem: the user was not created for Mongodb 4.x #561 (identw)
- Only create database and user when mongodb_is_master #558 (JvGinkel)
Closed issues:
- mongo 3.x replicaset init failed #554
Merged pull requests:
v3.0.0 (2019-05-21)
Breaking changes:
- modulesync 2.7.0 and drop puppet 4 #533 (bastelfreak)
- Refactor client handling #520 (ekohl)
- Refactor mongos handling #509 (ekohl)
- Drop support for mongodb versions before 2.6 #504 (ekohl)
- Drop EL6 support #503 (ekohl)
- Remove 10gen repository support #497 (ekohl)
- Move to Debian 9 and Ubuntu 16.04/18.04 #494 (ekohl)
- Remove init.pp #493 (ekohl)
Implemented enhancements:
- Deprecate (and then remove) 10gen requirement/pieces #416
- support percona mongodb version output #530 (h0tw1r3)
- Add aptkey_options parameter to mongodb::repo class #524 (JvGinkel)
- Set database permissions to 0750 #511 (ekohl)
- Convert mongodb_password into a Puppet 4 function #502 (ekohl)
- Add new classes for installing Ops Manager on a target machine. #500 (claycogg)
Fixed bugs:
- Fix undefined local variable or method `n' #537 (FunFR)
- Fix for MongoDB v4 Replica Set initialization #535 (radupantiru)
- Fix a dependency cycle caused by Apt::Source from puppetlabs-apt 6.3.0 #528 (thaiphv)
Merged pull requests:
- Allow
puppetlabs/stdlib
6.x #538 (alexjfisher) - Allow puppetlabs/apt 7.x #536 (dhoppe)
- #512: Current 'sharding.pp' example typo #513 (jeff1evesque)
- Remove old nodesets #510 (ekohl)
- Refactor mongos handling #508 (ekohl)
- Deduplicate & update params.pp #506 (ekohl)
- Clean up coding styles #505 (ekohl)
- Rewrite mocking and stubbing to only rspec #496 (ekohl)
- Refactor spec testing to not test private classes #495 (ekohl)
- Major cleanup to get the acceptance tests working #491 (ekohl)
v2.4.1 (2018-10-08)
Fixed bugs:
- Revert "Fallback to monogb version from fact if no explicit version got provided" #498 (ekohl)
- Also autorequire mongod service in types #492 (ekohl)
Closed issues:
- invalid byte sequence in US-ASCII #426
v2.4.0 (2018-10-05)
Fixed bugs:
Merged pull requests:
- modulesync 2.1.0, allow puppet 6.x and puppetlabs/apt 6.x #490 (bastelfreak)
- allow puppetlabs/stdlib 5.x #484 (bastelfreak)
- add gsub to replace invalid json values with a 1 #468 (TomRitserveldt)
- add rs.slaveOk to run before the getDBs call #446 (TomRitserveldt)
v2.3.0 (2018-08-20)
Implemented enhancements:
Merged pull requests:
- allow puppetlabs/apt 5.x #481 (bastelfreak)
v2.2.2 (2018-07-16)
Fixed bugs:
- Could not find scope for mongodb::params #428
- Fix a circular loading issue with mongodb::repo #474 (ekohl)
v2.2.1 (2018-06-25)
Fixed bugs:
- Undefined method 'get_config_options' in is_master.rb #471
- Use the correct function in is_master fact #472 (ekohl)
v2.2.0 (2018-06-16)
Implemented enhancements:
- Repo for version 3.6 is using wrong key. #465
- This will add the correct apt key for version 3.6. #466 (noni73)
Fixed bugs:
Merged pull requests:
- Remove docker nodesets #463 (bastelfreak)
- drop EOL OSs; fix puppet version range #462 (bastelfreak)
v2.1.2 (2018-03-28)
Fixed bugs:
- Notice on every run for password_hash #425
- Add check if scram credentials are insync with hash #455 (ctrox)
v2.1.1 (2018-03-27)
Fixed bugs:
Closed issues:
- Fact "mongodb_is_master" fails on mongodb clients #441
Merged pull requests:
- bump puppet to latest supported version 4.10.0 #452 (bastelfreak)
v2.1.0 (2018-02-27)
Implemented enhancements:
Fixed bugs:
- Fixed changing user password with MongoDB 2.6 #442 (webcompas)
- Fix password changing issue voxpupuli#438 #440 (webcompas)
- Add a retry block when hosts are added to replset #436 (pkilambi)
Closed issues:
- Changing a user's password doesn't work #438
v2.0.0 (2018-01-04)
Breaking changes:
Implemented enhancements:
Fixed bugs:
- apt-transport-https required on Ubuntu when installing version >= 3.0.0. #417
- Fix compilation failures on RHEL when
manage_package => true
#431 (fatmcgav)
Closed issues:
- "Unknown variable 'mongodb::params::journal'" error when 'manage_package => true' #430
- package version override broken with yum #415
- create admin and repl set fail with password #414
- 10gen repo handling doesn't work #101
Merged pull requests:
- Set types for mongodb::db #421 (ekohl)
- Allow bind_ip to be an IP or array of IPs. Add data types for a coupl… #411 (wyardley)
- Some minor initial fixes for acceptance tests #409 (wyardley)
- Use raise Puppet::Error instead of Puppet.fail() #408 (wyardley)
- fix for rubocop issues introduced in 9e2c #407 (wyardley)
- Autorequire mongodb_database for mongodb_user #394 (ekohl)
- Set dbpath_fix to false by default #347 (mwhahaha)
- Fixed: create database admin only if service_ensure is true. #240 (pcheliniy)
v1.1.0 (2017-10-20)
Implemented enhancements:
- Allow user-supplied configuration data #389 (blackophelia)
- MODULES-5483: Auth and FQDN certs => Fail #369 (ThoTischner)
Fixed bugs:
- Fix password on admin db #393 (benohara)
- fix issue MODULES-5545 #390 (bovy89)
- mongodb no longer provides the stable link #361 (attachmentgenie)
Closed issues:
- Can't change dbpath on Debian Stretch / Puppet5 with Hiera #398
Merged pull requests:
- Release 1.1.0 #403 (wyardley)
- correct spelling mistake #395 (EdwardBetts)
- (maint) modulesync 915cde70e20 #388 (glennsarti)
- (MODULES-5187) mysnc puppet 5 and ruby 2.4 #387 (eputnam)
- Update README.md #386 (LasseRafn)
- Release 1.0.0 mergeback #384 (eputnam)
- Only check if master if mongod installed #314 (benohara)
Major release removing Puppet 3 support.
ssl_weak_cert
param inmongodb::server
typesystem_logrotate
param inmongodb
,mongodb::server
, andmongodb::server::config
handle_creds
to handle credentials outside of Puppet (MODULES-1754)sslMode
when SSL is used- ability to use unencrypted passwords
- lower bound of Puppet requirement to 4.7.0
- use of
sslMode
tosslOnNormalPorts
to determine if SSL is enabled
database
property inmongodb_user
to allow hyphens (MODULES-4444)- gsub pattern for
is_master
fact mongodb_version
fact- selinux dbpath contexts in
mongodb::server::config
- Debian-based repo paths
$pidfilepath
for Debian- syntax error in net.ipv6 configuration option
- spec failure caused by Puppet 5
- is_master in mongodb provider
Unsupported Release 0.17.0
Adding features to improve spec testing, and added ability to manage pidfile creation
- gettext and spec.opts
- msync Gemfile for 1.0 frozen strings (MODULES-3631)
- MongoDB 3.12 creates pid file and checks in init script (MODULES-3956)
- gemfile template to be identical (MODULES-3704)
- deprecation errors
Unsupported Release 0.16.0
We fixed a critical bug where we lost idempotency in 0.15.0. The patch that fix this problem will be part of this release.
- Recursively manage only user/group for dbpath
Unsupported Release 0.15.0
The addition of several new functional features which will help with management and multiple bug fixes.
- Added ability to set PID file mode.
- Recursively manage the contents of dbpath directory.
- Now alllows custom templates.
- Addition of mongo listen port before creating facter.
- Now allows hyphens in database names.
- Now converts MongoDB ObjectID objects to generic JSON.
- Use the same regex that the mongodb provider does when correcting for ObjectID values in the isMaster response.
- Fixes to ensure that the auth property for config is parsed correctly.
- Now checks if mongo is up before evaluating is_master fact.
Unsupported Release 0.14.0
This breaking release increases the lower bound of the puppetlabs-apt dependency to the 2.x series of apt and puppetlabs-stdlib to >= 4.4.0. The operating system metadata is also updated to reflect modern systems.
- Add
mongodb_is_master
fact - Add
mongodb::db::db_name
parameter for exported resource deduplication - Add Debian 8 compatibility
- Add Ubuntu 14.04 compatibility
- Add Ubuntu 16.04 compatibility
- Add puppet 3.x 4.x compatibility metadata
- Increase apt lower dependency to >= 2.1.0
- Increase stdlib lower dependency to >= 4.4.0
- Drop RHEL & Centos 5
- Drop Debian 6
- Drop Ubuntu 10.04
- Catch unconfigured replset configuration queries
- Fix timestamp and other javascript object removal
- Correct permissions on .mongorc.js to 600
Unsupported Release 0.13.0
Adds several new large features, including the support of mongodb 3.x. Also applies numerous bugfixes, mainly around fixing errors being thrown and syntax issues.
- Adds mongodb_version fact.
- Add mongodb 3.x.
- Update to current msync configs.
- Now ensures that the pidfile exists and is writable.
- Simplified configuration parsing.
- Made argument handling more extensible.
- Added SSL support.
- Made ssl_ca optional when using SSL.
- Added $maxconns to mongodb::server::config.
- Added Suse to operating systems.
- Removes empty lines between doc and definition.
- Fix when using admin params : catalog: Found 1 dependency cycle: issue.
- Some syntax error fixes.
- Cleaned up provider formatting.
- Parse NumberLong data type from mongodb outputs to generate valid json.
- Checks if $version is defined before versioncmp.
- Fixed deprecation warning for use of configtimeout.
Unsupported Release 0.12.0
There are a number of bugfixes and features added in this release including, mongo db 3 engine support, ipv6 support and repo and yum improvements.
- Distinguish between repo and package mgmt
- Immplement retries for MongoDB shell commands
- Initiate replica set creation from localhost if auth is enabled
- Added specific service provider for Debian
- mongo db 3 engine selection support
- added an option to set a custom repository location
- Improve support for MongoDB authentication and replicaset
- Add yum proxy options
- Enable IPv6 in mongodb provider
- Fix mongodb_user username => name
- ensure that the client install does not start before the repo setup
- Fix replset not working on mongo 3.x
- Prealloc setting needs to be negated
- Add mongoDB >=3.x new yum repo location
- Add pidfilepath to globals when used in params
- Normalize spacing in template
- Switch to comparing current roles value with @property
- Fix versioncmp when version is undef
- Do not add blank parameter in ipv4
- Apply module sync
Unsupported Release 0.11.0
- arbiter support to to
mongodb_replset
mongod_service_manage
,mongos_service_manage
, andipv6
tomongodb::globals
service_manage
,unitxsocketprefix
,pidfilepath
,logpath
,fork
,bind_ip
,port
, andrestart
tomongodb::mongos
classkey
,ipv6
,service_manage
, andrestart
tomongodb::server
class- Allow mongodb_conn_validator to take an array of nodes via composite namevar
- Update to long apt repo key and bump compatibility to include apt 2
- Fix
nohttpinterface
on >= 2.6 - Fix connection validation when bind_ip is 0.0.0.0
- Fix mongodb_conn_validator to use default port in shard mode
Unsupported Release 0.10.0
This release adds a number of significant features and several bug fixes.
- Adds support for sharding
- Adds support for RHEL 7
- Adds rudimentary support for SSL configuration
- Adds support for the enterprise repository
- Fixes support for running on non-default ports
- Fixes the idempotency of password setting (for mongo 2.6)
Unsupported Release 0.9.0
This release has a number of new parameters, support for 2.6, improved providers, and several bugfixes.
- New parameters:
mongodb::globals
$service_ensure
$service_enable
- New parameters:
mongodb
$quiet
- New parameters:
mongodb::server
$service_ensure
$service_enable
$quiet
$config_content
- Support for mongodb 2.6
- Reimplement
mongodb_user
andmongodb_database
provider - Added
mongodb_conn_validator
type
- Use hkp for the apt keyserver
- Fix mongodb database existence check
- Fix
$server_package_name
problem (MODULES-690) - Make sure
pidfilepath
doesn't have any spaces - Providers need the client command before they can work (MODULES-1285)
Unsupported Release 0.8.0
This feature features a rewritten mongodb_replset{} provider, includes several important bugfixes, ruby 1.8 support, and two new features.
- Rewritten mongodb_replset{}, featuring puppet resource support, prefetching, and flushing.
- Add Ruby 1.8 compatibility.
- Adds
syslog
, allowing you to configure mongodb to send all logging to the hosts syslog. - Add mongodb::replset, a wrapper class for hiera users.
- Improved testing!
- Fixes the package names to work since 10gen renamed them again.
- Fix provider name in the README.
- Disallow
nojournal
andjournal
to be set at the same time. - Changed - to = for versioned install on Ubuntu.
Unsupported Release 0.7.0
Added Replica Set Type and Provider
Unsupported Release 0.6.0
Added support for installing MongoDB client on RHEL family systems.
Unsupported Release 0.5.0
Added types for providers for Mongo users and databases.
Unsupported Release 0.4.0
Major refactoring of the MongoDB module. Includes a new 'mongodb::globals' that consolidates many shared parameters into one location. This is an API-breaking release in anticipation of a 1.0 release.
Unsupported Release 0.3.0
Adds a number of parameters and fixes some platform specific bugs in module deployment.
Unsupported Release 0.2.0
This release fixes a duplicate parameter.
- Fix a duplicated parameter.
Unsupported Release 0.1.0
- Add support for RHEL/CentOS
- Change default mongodb install location to OS repo
Unsupported Release 0.0.2
- Fix Modulefile typo.
- Remove repo pin.
- Update spec tests and add travis support.
Unsupported Release 0.0.1
- Initial Release.
* This Changelog was automatically generated by github_changelog_generator