Merge pull request #1875 from mscherer/fix_mongo_user

Fix ssl to be a bool, required to fix #1732
reviewable/pr18780/r1
Toshio Kuratomi 9 years ago
commit d5030ae555

@ -225,7 +225,7 @@ def main():
database=dict(required=True, aliases=['db']), database=dict(required=True, aliases=['db']),
name=dict(required=True, aliases=['user']), name=dict(required=True, aliases=['user']),
password=dict(aliases=['pass']), password=dict(aliases=['pass']),
ssl=dict(default=False), ssl=dict(default=False, type='bool'),
roles=dict(default=None, type='list'), roles=dict(default=None, type='list'),
state=dict(default='present', choices=['absent', 'present']), state=dict(default='present', choices=['absent', 'present']),
update_password=dict(default="always", choices=["always", "on_create"]), update_password=dict(default="always", choices=["always", "on_create"]),

Loading…
Cancel
Save