Commit Graph

33 Commits (bbe8e1f53bda5941e7eaf338faf824f314c3db73)

Author SHA1 Message Date
THEBAULT Julien bfb1ad6690 Fix mongodb user compatibility check (#2731)
- Check the compatibility asap
2016-12-08 11:34:55 -05:00
Lujeni e226211c5b Fix mongodb_user ssl_cert_reqs param (#2963) (#2965) 2016-12-08 11:34:54 -05:00
Lujeni 477d174fbc Fix mongodb_user default role value when update_password is set (#2997) 2016-12-08 11:34:54 -05:00
Lujeni aa6aedf26c Improve mongodb_user exception (#2962)
- Better error message
2016-12-08 11:34:53 -05:00
Hans-Joachim Kliemeck 443dba148c Fix mongodb user idempotence with 2.4 version (#2725) (#2920) 2016-12-08 11:34:52 -05:00
gyurco bc8e8173ad mongodb_user: properly guard user adding with try...except (#2582)
The user adding part is not properly guarded by a try...except
block, so pymongo exceptions can escape from it.
Also there's a double-guarding where roles are given.

Fixes: #2575
2016-12-08 11:34:32 -05:00
gyurco 5c35d55b3c mongodb_user: fix ssl_cert_reqs exception (#2573)
If ssl is not enabled, but ssl_cert_reqs is passed to pymongo, an
exception occures.

Fixes: #2571
2016-12-08 11:34:32 -05:00
Lujeni 739a15cfe6 Support the ssl_cert_reqs directive (#1122) 2016-12-08 11:34:22 -05:00
Sergei Antipov 8263dd18a9 Fixed problem with pymongo compatibility (#1249)
* Fixed problem with pymongo compatibility

Fixes #11
2016-12-08 11:34:14 -05:00
Ner'zhul bb4751e791 Add mongodb parameter module (#1596)
* Add mongodb parameter module

This module permit to configure mongodb live parameters to tune the running engine
2016-12-08 11:34:09 -05:00
Marcos Diez 1aec0a3ffb mongodb_user.py: changes on comments 2016-12-08 11:34:01 -05:00
Marcos Diez 37ba9a3fe1 mongodb_user: fix checking if the roles of an oplog reader user changed 2016-12-08 11:34:01 -05:00
Guillaume Dufour dc83f2c6d7 use python fallback to avoid error on old mongo version without roles 2016-12-08 11:34:01 -05:00
Guillaume Dufour 467d9a8090 avoid problem with old mongo version without roles 2016-12-08 11:34:01 -05:00
Guillaume Dufour b07e1c13f7 fix #1731 : mongodb_user always says changed 2016-12-08 11:34:01 -05:00
Guillaume Dufour 8227105f02 fix #1747 mongodb_user support check mode 2016-12-08 11:33:59 -05:00
Michael Scherer 184d9fc4e5 Fix type used by the module
Set int for the various port (and so avoid to convert them later)
Set no_log=True for the login_password
Verify that db is a int, so avoid a conversion
2016-12-08 11:33:58 -05:00
Michael Scherer 8abe22c917 Fix ssl to be a bool, required to fix #1732
May also fix #1869
2016-12-08 11:33:58 -05:00
Michael Scherer 1a05e0f1c8 Use proper type for riak config_dir argument 2016-12-08 11:33:58 -05:00
lsb 2095aa5100 Update mongodb_user.py
Typo
2016-12-08 11:33:56 -05:00
Marcos Diez ece891baec Updated database/misc/mongodb_user.py, the docs now explain how to add a read user to the local/oplog db 2016-12-08 11:33:51 -05:00
Toshio Kuratomi ad0d2c1747 Update for modules which import json.
Some do not use the json module directly so don't need import json.
Some needed to fallback to simplejson with no traceback if neither was installed

Fixes #1298
2016-12-08 11:33:44 -05:00
Josh Gachnang 058feb47c2 Fix mongodb_user docs typo
Bob's last name is Belcher: http://bobs-burgers.wikia.com/wiki/Bob_Belcher.

These docs made me chuckle, so thanks :)
2016-12-08 11:33:36 -05:00
Toshio Kuratomi a4859e1087 Clean up unneeded urllib2 imports 2016-12-08 11:33:01 -05:00
Matt Martz 0399d40895 replace tabs with spaces in mongodb_user.py 2016-12-08 11:32:56 -05:00
Greg DeKoenigsberg c65a612d1f Changes to author formatting, remove emails 2016-12-08 11:32:51 -05:00
Solomon Gifford 28ff85c443 #364 Added support for update_password=dict(default="always", choices=["always", "on_create"]) 2016-12-08 11:32:46 -05:00
Solomon Gifford 7b3cfde043 fixes issue #362 2016-12-08 11:32:46 -05:00
Solomon Gifford 401828e588 \login_password with missing login_user not caught #363 2016-12-08 11:32:46 -05:00
Toshio Kuratomi 4f07e8b256 Many more doc fixes 2016-12-08 11:32:40 -05:00
Brian Coca c4f52f62f7 fix doc parsing by correctly quoting author 2016-12-08 11:32:39 -05:00
Brian Coca 1b10058475 changed to make name primary over user, as examples and keep consistent 2016-12-08 11:32:26 -05:00
Michael DeHaan cf622a7299 Categorize some modules. 2016-12-08 11:32:19 -05:00