Fix the typecast error with BOOLEAN

This commit is contained in:
Theodotos Andreou 2018-05-10 01:24:22 +03:00
parent b8f22589ce
commit 90cd04c157
4 changed files with 5 additions and 5 deletions

View file

@ -129,7 +129,7 @@ def main():
'values': dict(required=True),
'state': dict(default='present', choices=['present', 'absent', 'exact']),
'server_uri': dict(default='ldapi:///'),
'start_tls': dict(default='false', choices=(BOOLEANS+['True', True, 'False', False])),
'start_tls': dict(default='false', choices=(list(BOOLEANS)+['True', True, 'False', False])),
'bind_dn': dict(default=None),
'bind_pw': dict(default='', no_log=True),
},