Forge Home

5,558 downloads

5,414 latest version

4.3 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

Version information

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

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', }, }