blob: 057760256a0c2e2dff5efe127c7a3f43e86c8d98 (
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
|
# See https://www.thinkwiki.org/wiki/Tp_smapi
# Support available apci-call or tp-smapi
# Conflicts with laptop-mode-tools from nodo::utils::laptop::mode_tools
class nodo::utils::laptop::tlp(
$acpi_call = 'present',
$tp_smapi = 'present',
$ensure = 'installed',
) {
package { [
'tlp',
]:
ensure => $ensure,
}
package { [
"acpi-call-dkms",
]:
ensure => $acpi_call,
}
package { [
"tp-smapi-dkms",
]:
ensure => $tp_smapi,
}
# This package requires network-manager, which
# conflicts with wicd.
package { 'tlp-rdw':
ensure => absent,
}
}
|