Puppet Class: ldap::client::config

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

Summary

provisions the ldap client configuration file

Overview

SPDX-License-Identifier: Apache-2.0

Parameters:

  • $servers

    servers to connect to

  • $base_dn

    base dn of the ldap tree

  • $proxy_pass

    password for the cn=proxyagent user

  • servers (Array[Stdlib::Host])
  • base_dn (String[1])
  • proxy_pass (String[1])


6
7
8
9
10
11
12
13
14
15
16
17
# File 'modules/ldap/manifests/client/config.pp', line 6

class ldap::client::config (
    Array[Stdlib::Host] $servers,
    String[1]           $base_dn,
    String[1]           $proxy_pass,
) {
    file { '/etc/ldap/ldap.conf':
        owner   => 'root',
        group   => 'root',
        mode    => '0444',
        content => template('ldap/client/config/ldap.conf.erb'),
    }
}