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']
}
|