Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LDAP auth: Add cacert parameter and use hash to_json instead of a template #361

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

r3361
Copy link

@r3361 r3361 commented Jul 14, 2023

This allows a CA-Cert to be used for the LDAP connection.

Additionally, I replaced the big if and ifelese block with a simple alternative that uses stdlib to_json to generate a clean json from a hash. This saves the various condition and the templates behind it.

This was tested with Puppet 7, stdlib 6.6.0 and Hiera as a source.

@CLAassistant
Copy link

CLAassistant commented Jul 14, 2023

CLA assistant check
All committers have signed the CLA.

@r3361 r3361 changed the title LDAP auth: Add cacert paramter and use hash to_json instead of a template LDAP auth: Add cacert parameter and use hash to_json instead of a template Jul 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants