-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Conversation
This pull request has failed validation steps due to missing
|
0eec294
to
bc33b96
Compare
Fixed |
Thanks @nerzhul for this new module. When this module receives 'shipit' comments from two community members and any 'needs_revision' comments have been resolved, we will mark for inclusion. |
@gregdek nobody wants to review it ? :) |
|
||
# import module snippets | ||
from ansible.module_utils.basic import * | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
imho, you should add the script condition see
if __name__ == '__main__':
main()
This module permit to configure mongodb live parameters to tune the running engine
bc33b96
to
52ef88f
Compare
@Lujeni i fixed the main call condition. Authentication is already okay, i import it from mongodb_user module. What is the problem then ? |
The If we changed something in the However, we can |
Will put into shipit for further review. Thanks @nerzhul! |
Thanks @gregdek ! |
''' | ||
|
||
RETURN = ''' | ||
changed: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
removed changed
here, it is a common return. Only document the returns the module provides please.
module.fail_json(msg='Cannot run without value option') | ||
|
||
if param_type not in valid_param_types: | ||
module.fail_json(msg='param_type should have one of the following value: %s' % str(valid_param_types)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This check can be removed after choices=['str', 'int']
has been added, see comment above
I would like to merge it into 2.1 (freeze is today!) please update asap as commented :) |
@resmo updated ! |
login_port=dict(default=27017, type='int'), | ||
login_database=dict(default=None), | ||
replica_set=dict(default=None), | ||
param=dict(default=None), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add required=True
to param
and value
that was fast! no need to squash, github is able to squash commits natively :) the required=True are still missing IMHO |
@resmo done :) |
Thanks! |
Thanks ! |
* Add mongodb parameter module This module permit to configure mongodb live parameters to tune the running engine
* Add mongodb parameter module This module permit to configure mongodb live parameters to tune the running engine
* Add mongodb parameter module This module permit to configure mongodb live parameters to tune the running engine
* Add mongodb parameter module This module permit to configure mongodb live parameters to tune the running engine
* Add mongodb parameter module This module permit to configure mongodb live parameters to tune the running engine
This module permit to configure mongodb live parameters to tune the running engine