Puppet Class: openldap

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

Overview

Installs base LDAP library and global client configuration file.

Examples:

Declaring the class and mimicking the default global configuration on RHEL/CentOS

class { '::openldap':
  tls_cacertdir => '/etc/openldap/certs'
}

Parameters:

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

    The name of the package.

  • conf_dir (Stdlib::Absolutepath) (defaults to: $::openldap::params::conf_dir)

    Top-level configuration directory, usually /etc/openldap.

  • ldap_conf_file (Stdlib::Absolutepath) (defaults to: $::openldap::params::ldap_conf_file)

    The global client configuration file, usually ${conf_dir}/ldap.conf.

  • base (Any) (defaults to: undef)

    See the openldap::configuration defined type.

  • uri (Any) (defaults to: undef)

    See the openldap::configuration defined type.

  • deref (Any) (defaults to: undef)

    See the openldap::configuration defined type.

  • network_timeout (Any) (defaults to: undef)

    See the openldap::configuration defined type.

  • referrals (Any) (defaults to: undef)

    See the openldap::configuration defined type.

  • sizelimit (Any) (defaults to: undef)

    See the openldap::configuration defined type.

  • timelimit (Any) (defaults to: undef)

    See the openldap::configuration defined type.

  • timeout (Any) (defaults to: undef)

    See the openldap::configuration defined type.

  • sasl_secprops (Any) (defaults to: undef)

    See the openldap::configuration defined type.

  • sasl_nocanon (Any) (defaults to: undef)

    See the openldap::configuration defined type.

  • gssapi_sign (Any) (defaults to: undef)

    See the openldap::configuration defined type.

  • gssapi_encrypt (Any) (defaults to: undef)

    See the openldap::configuration defined type.

  • gssapi_allow_remote_principal (Any) (defaults to: undef)

    See the openldap::configuration defined type.

  • tls_cacert (Any) (defaults to: undef)

    See the openldap::configuration defined type.

  • tls_cacertdir (Any) (defaults to: undef)

    See the openldap::configuration defined type.

  • tls_cipher_suite (Any) (defaults to: undef)

    See the openldap::configuration defined type.

  • tls_protocol_min (Any) (defaults to: undef)

    See the openldap::configuration defined type.

  • tls_randfile (Any) (defaults to: undef)

    See the openldap::configuration defined type.

  • tls_reqcert (Any) (defaults to: undef)

    See the openldap::configuration defined type.

  • tls_crlcheck (Any) (defaults to: undef)

    See the openldap::configuration defined type.

  • tls_crlfile (Any) (defaults to: undef)

    See the openldap::configuration defined type.

See Also:



37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
# File 'manifests/init.pp', line 37

class openldap (
  String               $package_name                  = $::openldap::params::base_package_name,
  Stdlib::Absolutepath $conf_dir                      = $::openldap::params::conf_dir,
  Stdlib::Absolutepath $ldap_conf_file                = $::openldap::params::ldap_conf_file,
  # All of these are passed through to ::openldap::configuration
  Any                  $base                          = undef,
  Any                  $uri                           = undef,
  Any                  $deref                         = undef,
  Any                  $network_timeout               = undef,
  Any                  $referrals                     = undef,
  Any                  $sizelimit                     = undef,
  Any                  $timelimit                     = undef,
  Any                  $timeout                       = undef,
  Any                  $sasl_secprops                 = undef,
  Any                  $sasl_nocanon                  = undef,
  Any                  $gssapi_sign                   = undef,
  Any                  $gssapi_encrypt                = undef,
  Any                  $gssapi_allow_remote_principal = undef,
  Any                  $tls_cacert                    = undef,
  Any                  $tls_cacertdir                 = undef,
  Any                  $tls_cipher_suite              = undef,
  Any                  $tls_protocol_min              = undef,
  Any                  $tls_randfile                  = undef,
  Any                  $tls_reqcert                   = undef,
  Any                  $tls_crlcheck                  = undef,
  Any                  $tls_crlfile                   = undef,
) inherits ::openldap::params {

  contain ::openldap::install
  contain ::openldap::config

  Class['::openldap::install'] -> Class['::openldap::config']
}