Puppet Class: openldap::client

Inherits:
::openldap::params
Defined in:
manifests/client.pp

Overview

Installs LDAP client utilities.

This class is optional in the scenario of an Operating System that packages the LDAP libraries and clients together in one package, use the openldap class to install that single package.

Examples:

Declaring the class

include ::openldap::client

Parameters:

  • package_name (String) (defaults to: $::openldap::params::client_package_name)

    The name of the package.

See Also:



13
14
15
16
17
18
19
20
21
22
# File 'manifests/client.pp', line 13

class openldap::client (
  String $package_name = $::openldap::params::client_package_name,
) inherits ::openldap::params {

  if ! defined(Class['::openldap']) {
    fail('You must include the openldap base class before using the openldap::client class')
  }

  contain ::openldap::client::install
}