blob: a2d4c8bf8fbe0658563bbb1dd43a97aa96394428 (
plain)
1
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
44
45
46
47
48
49
50
51
52
53
54
55
|
node 'stb.mad.int.pdp7.net' {
# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1026008
Package[$ipa_client_package]
->
service {['sssd-pam-priv.socket", "sssd-sudo.socket", "sssd-nss.socket']:
ensure => stopped,
enable => mask,
}
~>
Exec['/usr/bin/systemctl reset-failed']
user {'kodi':
ensure => present,
}
package {['kodi', 'lightdm']:}
file {'/srv/filer':
ensure => directory,
}
package {'nfs-common':}
->
file {'/etc/systemd/system/srv-filer.mount':
content => @(EOT)
[Mount]
What=dixie.bcn.int.pdp7.net:/srv/filer
Where=/srv/filer
Type=nfs
[Install]
WantedBy=multi-user.target
| EOT
}
~>
exec {'/usr/bin/systemctl daemon-reload':}
->
service {'srv-filer.mount':
ensure => running,
enable => true,
require => File['/srv/filer'],
}
file {'/etc/lightdm/lightdm.conf':
content => @(EOT)
[Seat:*]
user-session=kodi
autologin-user=kodi
| EOT
,
require => [Package['kodi'], User['kodi']],
}
~>
service {'lightdm':}
}
|