Puppet Class: openldap::server

Defined in:
manifests/server.pp

Overview

See README.md for details.

Parameters:

  • krb5_keytab_file (Optional[Stdlib::Absolutepath]) (defaults to: undef)

    if set, manage the env variable KRB5_KTNAME on Debian based operating systems. This is required when configuring sasl with backend GSSAPI

  • krb5_client_keytab_file (Optional[Stdlib::Absolutepath]) (defaults to: undef)

    if set, manage the env variable KRB5_CLIENT_KTNAME on Debian based operating systems. This is required when configuring sasl with backend GSSAPI

  • package (String[1])
  • confdir (String[1])
  • conffile (String[1])
  • service (String[1])
  • owner (String[1])
  • group (String[1])
  • escape_ldapi_ifs (Boolean)
  • ldapi_ifs (Array[String[1]])
  • default_directory (Stdlib::Absolutepath)
  • manage_epel (Boolean) (defaults to: true)
  • package_version (String[1]) (defaults to: installed)
  • enable_chown (Optional[Boolean]) (defaults to: undef)
  • service_hasstatus (Optional[Boolean]) (defaults to: undef)
  • enable (Boolean) (defaults to: true)
  • start (Boolean) (defaults to: true)
  • ssl_key (Optional[Stdlib::Absolutepath]) (defaults to: undef)
  • ssl_cert (Optional[Stdlib::Absolutepath]) (defaults to: undef)
  • ssl_ca (Optional[Stdlib::Absolutepath]) (defaults to: undef)
  • databases (Hash) (defaults to: {})
  • ldap_ifs (Array[String[1]]) (defaults to: ['/'])
  • ldaps_ifs (Array[String[1]]) (defaults to: [])
  • slapd_params (Optional[String]) (defaults to: undef)
  • ldap_port (Optional[Stdlib::Port]) (defaults to: undef)
  • ldap_address (Optional[Stdlib::IP::Address]) (defaults to: undef)
  • ldaps_port (Optional[Stdlib::Port]) (defaults to: undef)
  • ldaps_address (Optional[Stdlib::IP::Address]) (defaults to: undef)
  • ldapi_socket_path (Optional[Stdlib::Absolutepath]) (defaults to: undef)
  • register_slp (Optional[Boolean]) (defaults to: undef)
  • ldap_config_backend (Optional[String]) (defaults to: undef)
  • enable_memory_limit (Optional[Boolean]) (defaults to: undef)


8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# File 'manifests/server.pp', line 8

class openldap::server (
  String[1] $package,
  String[1] $confdir,
  String[1] $conffile,
  String[1] $service,
  String[1] $owner,
  String[1] $group,
  Boolean $escape_ldapi_ifs,
  Array[String[1]] $ldapi_ifs,
  Stdlib::Absolutepath $default_directory,
  Boolean $manage_epel                              = true,
  String[1] $package_version                        = installed,
  Optional[Boolean] $enable_chown                   = undef,
  Optional[Boolean] $service_hasstatus              = undef,
  Boolean $enable                                   = true,
  Boolean $start                                    = true,
  Optional[Stdlib::Absolutepath] $ssl_key           = undef,
  Optional[Stdlib::Absolutepath] $ssl_cert          = undef,
  Optional[Stdlib::Absolutepath] $ssl_ca            = undef,
  Hash $databases                                   = {},
  Array[String[1]] $ldap_ifs                        = ['/'],
  Array[String[1]] $ldaps_ifs                       = [],
  Optional[String] $slapd_params                    = undef,
  Optional[Stdlib::Port] $ldap_port                 = undef,
  Optional[Stdlib::IP::Address] $ldap_address       = undef,
  Optional[Stdlib::Port] $ldaps_port                = undef,
  Optional[Stdlib::IP::Address] $ldaps_address      = undef,
  Optional[Stdlib::Absolutepath] $ldapi_socket_path = undef,
  Optional[Boolean] $register_slp                   = undef,
  Optional[Stdlib::Absolutepath] $krb5_keytab_file  = undef,
  Optional[Stdlib::Absolutepath] $krb5_client_keytab_file  = undef,
  Optional[String] $ldap_config_backend             = undef,
  Optional[Boolean] $enable_memory_limit            = undef,
) {
  include openldap::server::install
  include openldap::server::config
  include openldap::server::service
  include openldap::server::slapdconf

  Class['openldap::server::install']
  -> Class['openldap::server::config']
  ~> Class['openldap::server::service']
  -> Class['openldap::server::slapdconf']
  -> Class['openldap::server']
}