This fixes a logic error. The line before the if statement, the variables bind_user is being set to module.params["bind_user"] and then the if statement is checking is bind_user is equal to module.params["bind_user"]. This is causing the following code in the if statement to never run. Due to this, if you use the parameter force_bind_password: false when calling purefa_ds and there is no existing directories services configuration you receive an error.
Fixes #464
ISSUE TYPE
Bugfix Pull Request
COMPONENT NAME
purefa_ds
ADDITIONAL INFORMATION
All new PRs must include a changelog fragment
Details of naming convention and format can be found here
SUMMARY
This fixes a logic error. The line before the if statement, the variables
bind_user
is being set tomodule.params["bind_user"]
and then the if statement is checking isbind_user
is equal tomodule.params["bind_user"]
. This is causing the following code in the if statement to never run. Due to this, if you use the parameterforce_bind_password: false
when callingpurefa_ds
and there is no existing directories services configuration you receive an error.Fixes #464
ISSUE TYPE
COMPONENT NAME
purefa_ds
ADDITIONAL INFORMATION