GitHub puppet-ldapquery
Query an LDAP server using Puppet.

Repo Checks ( 8 of 11 successfull )
Metadata Valid
No translation
Correct Puppet Version Range
Supported Puppet version range is %{PUPPET_SUPPORT_RANGE}
With Puppet Version Range
Puppet version range is present in requirements in metadata.json
With Operatingsystem Support
No translation
In Modulesync Repo
Is listed as a module managed using modulesync_config
Has a .msync.yml file
Latest Modulesync
Has been synchronized with the latest tagged version of modulesync_config
Has Modulesync
Is present in voxpupuli/modulesync_config/managed_modules.yml
Is in modulesync_config and in forge releases.
Valid Sync File
If a (optional) sync file is present, it must not contain a `.travis.yml` entry.
Reference Dot Md
The repository has a It needs to be generated / puppet-strings documentation is missing.

Open Pull Requests

WIP: Rework ldap options

Sourcing ldap server configuration options from puppet.conf was conflating their original purpose, and a future release of Puppet may even remove these options.

It's still desirable to be able to set defaults for the function from a file, but a dedicated yaml file is far more flexible than an ini file.

In this commit, the old dispatch is renamed to legacy_query and a new query dispatch with a different signature replaces it.

The function is refactored to remove the instance variables.

The legacy_query dispatch is simplified to just to the deprecated fetching of settings from puppet.conf and then call the new code.

Open PR in GitHub
Rework for full parameter support

Pull Request (PR) description

Adding multi instance support by extending the options hash of the puppet parser function to give full parameter support for all needed internal net/ldap settings.

Adds also support for start_tls ldap connections. Use $options = { tls => 'start_tls' } in that case.

The ldap configuration via the [master] section from puppet.conf like defined in the is still supported and the new parameter defaults to these options when not provided.

Example usage:
$filter = '(objectClass=posixAccount)'
$attributes = [
$options = {
server => ''
port => 636
tls => 'simple_tls'
cafile => '/etc/pki/tls/certs.pem'
base => 'dc=example,dc=com'
scope => 'sub'
user => 'cn=puppet,ou=people,dc=example,dc=com'
password => '',

$ldap_entries = ldapquery($filter, $attributes, $options)

This Pull Request (PR) fixes the following issues


Open PR in GitHub
modulesync 5.4.0

modulesync 5.4.0

Open PR in GitHub