Puppet Class: sssd

Defined in:
manifests/init.pp

Summary

Manage SSSD

Overview

Examples:

include ::sssd

Parameters:

  • package_ensure (String) (defaults to: 'latest')

    Package ensure property

  • package_name (Variant[String, Array]) (defaults to: 'sssd')

    Primary sssd package name

  • extra_packages (Array) (defaults to: ['sssd-tools'])

    Additional SSSD packages to install

  • configs (Hash) (defaults to: {})

    Configs hash that defines /etc/sssd/sssd.conf

  • configs_merge (Boolean) (defaults to: false)

    Sets if configs hash should be merged from Hiera

  • show_diff (Boolean) (defaults to: false)

    Boolean that determines if files should support showing diff



19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# File 'manifests/init.pp', line 19

class sssd (
  String $package_ensure                = 'latest',
  Variant[String, Array] $package_name  = 'sssd',
  Array $extra_packages                 = ['sssd-tools'],
  Hash $configs                         = {},
  Boolean $configs_merge                = false,
  Boolean $show_diff                    = false,
) {

  if ! $facts['os']['family'] in ['RedHat','Debian'] {
    fail("Unsupported osfamily: ${facts['os']['family']}, module ${module_name} only support os family RedHat and Debian")
  }

  contain 'sssd::install'
  contain 'sssd::config'
  contain 'sssd::service'

  Class['sssd::install']
  -> Class['sssd::config']
  -> Class['sssd::service']

}