Puppet Class: sssd::service::pac

Defined in:
manifests/service/pac.pp

Overview

This class sets up the [pac] section of /etc/sssd.conf.

The class parameters map directly to SSSD configuration. Full documentation of these configuration options can be found in the sssd.conf(5) man page.

Parameters:

  • description (Optional[String]) (defaults to: undef)
  • debug_level (Optional[Sssd::DebugLevel]) (defaults to: undef)
  • debug_timestamps (Boolean) (defaults to: true)
  • debug_microseconds (Boolean) (defaults to: false)
  • allowed_uids (Array[String]) (defaults to: [])
  • custom_options (Optional[Hash]) (defaults to: undef)

    If defined, this hash will be used to create the service section instead of the parameters. You must provide all options in the section you want to add. Each entry in the hash will be added as a simple init pair key = value under the section in the sssd.conf file. No error checking will be performed.

Author:



22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# File 'manifests/service/pac.pp', line 22

class sssd::service::pac (
  Optional[String]             $description        = undef,
  Optional[Sssd::DebugLevel]   $debug_level        = undef,
  Boolean                      $debug_timestamps   = true,
  Boolean                      $debug_microseconds = false,
  Array[String]                $allowed_uids       = [],
  Optional[Hash]               $custom_options     = undef

) {
  if $custom_options {
    $_content = epp("${module_name}/service/custom_options.epp", {
        'service_name' => 'pac',
        'options'      => $custom_options
      })
  } else {
    $_content = template("${module_name}/service/pac.erb")
  }

  sssd::config::entry { 'puppet_service_pac':
    content => $_content
  }
}