Skip to content

Latest commit

 

History

History
634 lines (450 loc) · 32.6 KB

CHANGELOG.md

File metadata and controls

634 lines (450 loc) · 32.6 KB

Changelog

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.2.0 (2022-12-07)

Full Changelog

Implemented enhancements:

Fixed bugs:

  • Auth in mongod 3.6 #437
  • mongodb_user ignores database parameter when removing a user #644 (SeanHood)
  • Fix ReplicaSet with Auth creation (new error message to handle) #632 (BDelacour)

v4.1.1 (2022-03-12)

Full Changelog

Fixed bugs:

  • Do not manage the repository on RedHat when manage_package_repo is set to false #637 (fe80)

Closed issues:

  • mongodb::repo is always include for some family #636

v4.1.0 (2021-10-28)

Full Changelog

Implemented enhancements:

  • Add support for Suse Linux #624 (fbrehm)
  • Add mongo 5.0 debian / ubuntu apt key #615 (xepa)

Fixed bugs:

  • Run apt update before installing package #628 (malcyon)

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)

Full Changelog

Breaking changes:

Implemented enhancements:

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:

v3.1.0 (2020-02-11)

Full Changelog

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)

Full Changelog

Breaking changes:

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:

v2.4.1 (2018-10-08)

Full Changelog

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)

Full Changelog

Fixed bugs:

  • Fallback to monogb version from fact if no explicit version got provided #485 (fbrehm)

Merged pull requests:

v2.3.0 (2018-08-20)

Full Changelog

Implemented enhancements:

Merged pull requests:

v2.2.2 (2018-07-16)

Full Changelog

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)

Full Changelog

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)

Full Changelog

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:

  • Handle non-existing config file #469 (ekohl)

Merged pull requests:

v2.1.2 (2018-03-28)

Full Changelog

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)

Full Changelog

Fixed bugs:

Closed issues:

  • Fact "mongodb_is_master" fails on mongodb clients #441

Merged pull requests:

v2.1.0 (2018-02-27)

Full Changelog

Implemented enhancements:

Fixed bugs:

Closed issues:

  • Changing a user's password doesn't work #438

v2.0.0 (2018-01-04)

Full Changelog

Breaking changes:

  • Add Data Types and remove deprecated parameters #406 (wyardley)

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)

Full Changelog

Implemented enhancements:

Fixed bugs:

Closed issues:

  • Can't change dbpath on Debian Stretch / Puppet5 with Hiera #398

Merged pull requests:

1.0.0 (2017-06-30)

Summary

Major release removing Puppet 3 support.

Added

  • ssl_weak_cert param in mongodb::server type
  • system_logrotate param in mongodb, mongodb::server, and mongodb::server::config
  • handle_creds to handle credentials outside of Puppet (MODULES-1754)
  • sslMode when SSL is used
  • ability to use unencrypted passwords

Changed

  • lower bound of Puppet requirement to 4.7.0
  • use of sslMode to sslOnNormalPorts to determine if SSL is enabled

Fixed

  • database property in mongodb_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

Summary

Adding features to improve spec testing, and added ability to manage pidfile creation

Fixed

  • 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

Summary

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.

Fixed

  • Recursively manage only user/group for dbpath

Unsupported Release 0.15.0

Summary

The addition of several new functional features which will help with management and multiple bug fixes.

Added

  • 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.

Fixed

  • 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

Summary

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.

Added

  • 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

Changed

  • 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

Fixed

  • Catch unconfigured replset configuration queries
  • Fix timestamp and other javascript object removal
  • Correct permissions on .mongorc.js to 600

Unsupported Release 0.13.0

Summary

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.

Added

  • 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.

Fixed

  • 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

Summary

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.

Added

  • 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

Fixed

  • 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

Summary

Added

  • arbiter support to to mongodb_replset
  • mongod_service_manage, mongos_service_manage, and ipv6 to mongodb::globals
  • service_manage, unitxsocketprefix, pidfilepath, logpath, fork, bind_ip, port, and restart to mongodb::mongos class
  • key, ipv6, service_manage, and restart to mongodb::server class
  • Allow mongodb_conn_validator to take an array of nodes via composite namevar

Fixed

  • 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

Summary

This release adds a number of significant features and several bug fixes.

Added

  • Adds support for sharding
  • Adds support for RHEL 7
  • Adds rudimentary support for SSL configuration
  • Adds support for the enterprise repository

Fixed

  • Fixes support for running on non-default ports
  • Fixes the idempotency of password setting (for mongo 2.6)

Unsupported Release 0.9.0

Summary

This release has a number of new parameters, support for 2.6, improved providers, and several bugfixes.

Added

  • 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 and mongodb_database provider
  • Added mongodb_conn_validator type

Fixed

  • 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

Summary

This feature features a rewritten mongodb_replset{} provider, includes several important bugfixes, ruby 1.8 support, and two new features.

Added

  • 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!

Fixed

  • Fixes the package names to work since 10gen renamed them again.
  • Fix provider name in the README.
  • Disallow nojournal and journal to be set at the same time.
  • Changed - to = for versioned install on Ubuntu.

Unsupported Release 0.7.0

Summary

Added Replica Set Type and Provider

Unsupported Release 0.6.0

Summary

Added support for installing MongoDB client on RHEL family systems.

Unsupported Release 0.5.0

Summary

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

Summary

Adds a number of parameters and fixes some platform specific bugs in module deployment.

Unsupported Release 0.2.0

Summary

This release fixes a duplicate parameter.

Fixed

  • 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