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

Accept Sensitive ldap_cfg #282

Merged
merged 1 commit into from
May 23, 2022

Conversation

alexjfisher
Copy link
Member

Similar to 04fcd91 this commit adds
support for Sensitive to the ldap_cfg parameter.

I've also fixed the LDAP examples email attibute to be mail which
is correct for Active Directory (where username is sAMAccountName)

Similar to 04fcd91 this commit adds
support for `Sensitive` to the `ldap_cfg` parameter.

I've also fixed the LDAP examples `email` attibute to be `mail` which
is correct for Active Directory (where `username` is `sAMAccountName`)
@alexjfisher alexjfisher added the enhancement New feature or request label May 23, 2022
@@ -137,7 +137,7 @@
Optional[String] $archive_source,
String $cfg_location,
Variant[Hash,Sensitive[Hash]] $cfg,
Optional[Variant[Hash,Array]] $ldap_cfg,
Optional[Variant[Hash,Array[Hash],Sensitive[Hash],Sensitive[Array[Hash]]]] $ldap_cfg,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

now thats a combination that could be put into ita own type with some tests

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe if we ever get round to converting the docs to puppet-strings?? Tests are mainly useful for Pattern types IMO.

@alexjfisher alexjfisher merged commit 95874c6 into voxpupuli:master May 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants