ldap

contributions requested
Configure ldap

5,684 downloads

5,517 latest version

4.3 quality score

Support the Puppet Community by contributing to this module

You are welcome to contribute to this module by suggesting new features, currency updates, or fixes. Every contribution is valuable to help ensure that the module remains compatible with the latest Puppet versions and continues to meet community needs. Complete the following steps:

  1. Review the module’s contribution guidelines and any licenses. Ensure that your planned contribution aligns with the author’s standards and any legal requirements.
  2. Fork the repository on GitHub, make changes on a branch of your fork, and submit a pull request. The pull request must clearly document your proposed change.

For questions about updating the module, contact the module’s author.

Version information

  • 0.2.1 (latest)
  • 0.2.0
released Sep 16th 2016
This version is compatible with:
  • Debian

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'thexa4-ldap', '0.2.1'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add thexa4-ldap
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install thexa4-ldap --version 0.2.1

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Download

Documentation

thexa4/ldap — version 0.2.1 Sep 16th 2016

#Ldap Sets up ldap using camptocamp-openldap and allows other modules to ensure certain ldap entries

##Parameters

  • $base - The base dn
  • $uri - The uri to the ldap server
  • $ssl = false - Should SSL be enabled?
  • $cert_ca = '/etc/ssl/certs/host-ca.crt' - The ca certificate to validate the server with
  • $cert_client = '/etc/ssl/certs/host.crt' - The client certificate configured for root
  • $key_client = '/etc/ssl/private/host.key' - The key configured for root

##Types

###ldap::object This object tries to ensure the state of an entry in ldap.

####Parameters

  • $title - The dn of the entry
  • $attributes - A hash of attributes the entry should contain
  • $ensure - present, absent
  • $authtype = 'SIMPLE' - The authentication method, use SIMPLE for password authentication, EXTERNAL for ssl authentication
  • $adduser = '' - When used with SIMPLE, the user to authenticate with
  • $addpw = '' - When used with SIMPLE, the password to authenticate with

####Example ldap::object { "cn=puppet,dc=example,dc=com": ensure => present, authtype => 'EXTERNAL', attributes => { 'cn' => 'puppet', 'objectClass' => [ 'device', 'ipHost', 'ieee802Device', 'puppetClient', ], 'ipHostNumber' => '127.0.0.1' 'macAddress' => '00:00:00:00:00:00', }, }