ACPI support is handled by systemd-logind in jessie and later:
https://www.debian.org/releases/jessie/amd64/release-notes/ch-information.en.html#idp39488784
Suggested-by: ansgar on #debian-admin
class acpi {
if ! ($::debarchitecture in ['kfreebsd-amd64', 'kfreebsd-i386']) {
- package { 'acpid':
- ensure => installed
- }
+ if ($::lsbmajdistrelease >= 8) {
+ package { 'acpid':
+ ensure => purged
+ }
- service { 'acpid':
- ensure => running,
- require => Package['acpid'],
- }
+ package { 'acpi-support-base':
+ ensure => purged
+ }
+ } else {
+ package { 'acpid':
+ ensure => installed
+ }
- package { 'acpi-support-base':
- ensure => installed
- }
+ service { 'acpid':
+ ensure => running,
+ require => Package['acpid'],
+ }
+
+ package { 'acpi-support-base':
+ ensure => installed
+ }
}
}