Puppet Class: sasl::authd
- Inherits:
- ::sasl::params
- Defined in:
- manifests/authd.pp
Overview
Installs and manages the SASL saslauthd
daemon.
76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 |
# File 'manifests/authd.pp', line 76
class sasl::authd (
SASL::Authd::Mechanism $mechanism,
Integer[1] $threads = $::sasl::params::saslauthd_threads,
String $package_name = $::sasl::params::saslauthd_package,
String $service_name = $::sasl::params::saslauthd_service,
Stdlib::Absolutepath $socket = $::sasl::params::saslauthd_socket,
Boolean $hasstatus = $::sasl::params::saslauthd_hasstatus,
# ldap
Optional[Stdlib::Absolutepath] $ldap_conf_file = $::sasl::params::saslauthd_ldap_conf_file,
Optional[Enum['bind', 'custom', 'fastbind']] $ldap_auth_method = undef,
Optional[Bodgitlib::LDAP::DN] $ldap_bind_dn = undef,
Optional[String] $ldap_bind_pw = undef,
Optional[String] $ldap_default_domain = undef,
Optional[String] $ldap_default_realm = undef,
Optional[Enum['search', 'find', 'always', 'never']] $ldap_deref = undef,
Optional[Bodgitlib::LDAP::Filter] $ldap_filter = undef,
Optional[String] $ldap_group_attr = undef,
Optional[Bodgitlib::LDAP::DN] $ldap_group_dn = undef,
Optional[Bodgitlib::LDAP::Filter] $ldap_group_filter = undef,
Optional[Enum['attr', 'filter']] $ldap_group_match_method = undef,
Optional[Bodgitlib::LDAP::DN] $ldap_group_search_base = undef,
Optional[Bodgitlib::LDAP::Scope] $ldap_group_scope = undef,
Optional[String] $ldap_password = undef,
Optional[String] $ldap_password_attr = undef,
Optional[Boolean] $ldap_referrals = undef,
Optional[Boolean] $ldap_restart = undef,
Optional[String] $ldap_id = undef,
Optional[String] $ldap_authz_id = undef,
Optional[String] $ldap_mech = undef,
Optional[String] $ldap_realm = undef,
Optional[Bodgitlib::LDAP::Scope] $ldap_scope = undef,
Optional[Bodgitlib::LDAP::DN] $ldap_search_base = undef,
Optional[Array[Bodgitlib::LDAP::URI::Simple, 1]] $ldap_servers = undef,
Optional[Boolean] $ldap_start_tls = undef,
Optional[Integer[0]] $ldap_time_limit = undef,
Optional[Integer[0]] $ldap_timeout = undef,
Optional[Boolean] $ldap_tls_check_peer = undef,
Optional[Stdlib::Absolutepath] $ldap_tls_cacert_file = undef,
Optional[Stdlib::Absolutepath] $ldap_tls_cacert_dir = undef,
Optional[String] $ldap_tls_ciphers = undef,
Optional[Stdlib::Absolutepath] $ldap_tls_cert = undef,
Optional[Stdlib::Absolutepath] $ldap_tls_key = undef,
Optional[Boolean] $ldap_use_sasl = undef,
Optional[Integer[2, 3]] $ldap_version = undef,
# rimap
Optional[SASL::HostPort] $imap_server = undef,
) inherits ::sasl::params {
if ! defined(Class['::sasl']) {
fail('You must include the sasl base class before using the sasl::authd class')
}
contain ::sasl::authd::install
contain ::sasl::authd::config
contain ::sasl::authd::service
Class['::sasl::authd::install'] -> Class['::sasl::authd::config']
~> Class['::sasl::authd::service']
}
|