This is essentially the same behavior as #91 that added Active Directory
integration. LDAP auth has a different object type but this attempts to
reuse the same method as much as possible
It seems logical to refactor the AD resource to follow a naming
convention such as sensu_auth_*, since multiple external auth provider
types are supported by sensu. However, I purposefully limited the
changes made the the active_directory resources in this change and did
not rename them.
Note the ldap server property callback here is the same as that used in
the sensu_asset resource
Pull Request Checklist
Is this in reference to an existing issue?
Yes, #81
General
[X] Update Changelog following the conventions laid out here
[X] Update README with any necessary configuration snippets
[X] Cookstyle (rubocop) passes
[X] Rspec (unit tests) passes
[X] Inspec (integration tests) passes
New Features
[X] Added a Testing Artifact as either an automated test or a manual artifact on the PR.
[X] Added documentation for it to the README.md
Purpose
Add support for configuration of an external LDAP auth provider
This is essentially the same behavior as #91 that added Active Directory integration. LDAP auth has a different object type but this attempts to reuse the same method as much as possible
It seems logical to refactor the AD resource to follow a naming convention such as
sensu_auth_*
, since multiple external auth provider types are supported by sensu. However, I purposefully limited the changes made the theactive_directory
resources in this change and did not rename them.Note the ldap server property callback here is the same as that used in the
sensu_asset
resourcePull Request Checklist
Is this in reference to an existing issue?
Yes, #81
General
[X] Update Changelog following the conventions laid out here
[X] Update README with any necessary configuration snippets
[X] Cookstyle (rubocop) passes
[X] Rspec (unit tests) passes
[X] Inspec (integration tests) passes
New Features
[X] Added a Testing Artifact as either an automated test or a manual artifact on the PR.
[X] Added documentation for it to the
README.md
Purpose
Add support for configuration of an external LDAP auth provider
Known Compatibility Issues
None