Puppet Class: ldap::client::openldap

Defined in:
modules/ldap/manifests/client/openldap.pp

Overview

Parameters:

  • ldapconfig (Hash) (defaults to: {})
  • ldapincludes (Array[String]) (defaults to: [])


1
2
3
4
5
6
7
8
9
10
11
12
13
14
# File 'modules/ldap/manifests/client/openldap.pp', line 1

class ldap::client::openldap(
  Hash          $ldapconfig   = {},
  Array[String] $ldapincludes = []
) {

  ensure_packages(['ldap-utils'])

  file { '/etc/ldap/ldap.conf':
      owner   => 'root',
      group   => 'root',
      mode    => '0444',
      content => template('ldap/open_ldap.erb'),
  }
}