2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# File 'manifests/config.pp', line 2
class sssd::config {
assert_private()
if $sssd::configs_merge {
$configs = lookup('sssd::configs', Hash, 'deep', {})
} else {
$configs = $sssd::configs
}
file { '/etc/sssd':
ensure => 'directory',
owner => 'root',
group => 'root',
mode => '0700',
recurse => true,
purge => true,
force => true,
notify => Service['sssd'],
}
file { '/etc/sssd/sssd.conf':
ensure => 'file',
owner => 'root',
group => 'root',
mode => '0600',
notify => Service['sssd'],
content => template('sssd/sssd.conf.erb'),
show_diff => $sssd::show_diff,
}
file { '/etc/sssd/conf.d':
ensure => 'directory',
owner => 'root',
group => 'root',
mode => '0755',
recurse => true,
purge => true,
force => true,
notify => Service['sssd'],
}
}
|