Fix ssl to be a bool, required to fix #1732

May also fix #1869
This commit is contained in:
Michael Scherer 2016-03-19 23:59:34 +01:00 committed by Matt Clay
parent 1a05e0f1c8
commit 8abe22c917

View file

@ -218,7 +218,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"]),