Puppet Class: sssd

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

Overview

Manage SSSD.

Examples:

Declaring the class

include sssd
sssd::service { 'nss': }
sssd::domain { 'example.com':
  id_provider => 'ldap',
  ...
}

Parameters:

  • conf_dir (Stdlib::Absolutepath) (defaults to: $sssd::params::conf_dir)
  • conf_file (Stdlib::Absolutepath) (defaults to: $sssd::params::conf_file)
  • domains (Hash[String, Hash[String, Any]]) (defaults to: {})
  • package_name (Variant[String, Array[String, 1]]) (defaults to: $sssd::params::package_name)
  • service_name (String) (defaults to: $sssd::params::service_name)
  • services (Hash[String, Hash[String, Any]]) (defaults to: {})
  • service_enable (Boolean) (defaults to: true)
  • service_ensure (Enum['running', 'stopped']) (defaults to: 'running')
  • socket_services (Hash[SSSD::Type, Variant[String, Array[String, 1]]]) (defaults to: $sssd::params::socket_services)
  • use_socket_activation (Boolean) (defaults to: $sssd::params::use_socket_activation)
  • debug (Optional[Integer[0]]) (defaults to: undef)
  • debug_level (Optional[Integer[0]]) (defaults to: undef)
  • debug_timestamps (Optional[Boolean]) (defaults to: undef)
  • debug_microseconds (Optional[Boolean]) (defaults to: undef)
  • config_file_version (Integer[2]) (defaults to: 2)
  • reconnection_retries (Optional[Integer[0]]) (defaults to: undef)
  • re_expression (Optional[String]) (defaults to: undef)
  • full_name_format (Optional[String]) (defaults to: undef)
  • try_inotify (Optional[Boolean]) (defaults to: undef)
  • krb5_rcache_dir (Optional[Variant[Stdlib::Absolutepath, Enum['__LIBKRB5_DEFAULTS__']]]) (defaults to: undef)
  • user (Optional[String]) (defaults to: undef)
  • default_domain_suffix (Optional[String]) (defaults to: undef)
  • override_space (Optional[String]) (defaults to: undef)
  • certificate_verification (Optional[Array[SSSD::Certificate::Verification, 1]]) (defaults to: undef)
  • disable_netlink (Optional[Boolean]) (defaults to: undef)
  • enable_files_domain (Optional[Boolean]) (defaults to: undef)
  • domain_resolution_order (Optional[Array[String, 1]]) (defaults to: undef)

See Also:

Since:

  • 1.0.0



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
70
71
72
73
74
75
76
77
78
79
80
81
82
# File 'manifests/init.pp', line 44

class sssd (
  Stdlib::Absolutepath                                                  $conf_dir                 = $sssd::params::conf_dir,
  Stdlib::Absolutepath                                                  $conf_file                = $sssd::params::conf_file,
  Hash[String, Hash[String, Any]]                                       $domains                  = {},
  Variant[String, Array[String, 1]]                                     $package_name             = $sssd::params::package_name,
  String                                                                $service_name             = $sssd::params::service_name,
  Hash[String, Hash[String, Any]]                                       $services                 = {},
  Boolean                                                               $service_enable           = true,
  Enum['running', 'stopped']                                            $service_ensure           = 'running',
  Hash[SSSD::Type, Variant[String, Array[String, 1]]]                   $socket_services          = $sssd::params::socket_services,
  Boolean                                                               $use_socket_activation    = $sssd::params::use_socket_activation,
  # options for any section
  Optional[Integer[0]]                                                  $debug                    = undef,
  Optional[Integer[0]]                                                  $debug_level              = undef,
  Optional[Boolean]                                                     $debug_timestamps         = undef,
  Optional[Boolean]                                                     $debug_microseconds       = undef,
  # options for [sssd] section
  Integer[2]                                                            $config_file_version      = 2,
  Optional[Integer[0]]                                                  $reconnection_retries     = undef,
  Optional[String]                                                      $re_expression            = undef,
  Optional[String]                                                      $full_name_format         = undef,
  Optional[Boolean]                                                     $try_inotify              = undef,
  Optional[Variant[Stdlib::Absolutepath, Enum['__LIBKRB5_DEFAULTS__']]] $krb5_rcache_dir          = undef,
  Optional[String]                                                      $user                     = undef,
  Optional[String]                                                      $default_domain_suffix    = undef,
  Optional[String]                                                      $override_space           = undef,
  Optional[Array[SSSD::Certificate::Verification, 1]]                   $certificate_verification = undef,
  Optional[Boolean]                                                     $disable_netlink          = undef,
  Optional[Boolean]                                                     $enable_files_domain      = undef,
  Optional[Array[String, 1]]                                            $domain_resolution_order  = undef,
) inherits sssd::params {

  contain sssd::install
  contain sssd::config
  contain sssd::daemon

  Class['sssd::install'] ~> Class['sssd::config']
    ~> Class['sssd::daemon']
}