lintian.d.o: Remove redundant + incorrect IfModule mod_userdir
[mirror/dsa-puppet.git] / modules / acpi / manifests / init.pp
index e6cce8d..a3902ef 100644 (file)
@@ -1,5 +1,13 @@
 class acpi {
-       if ! ($::debarchitecture in ['kfreebsd-amd64', 'kfreebsd-i386']) {
+       if (versioncmp($::lsbmajdistrelease, '8') >= 0) {
+               package { 'acpid':
+                       ensure => purged
+               }
+
+               package { 'acpi-support-base':
+                       ensure => purged
+               }
+       } elsif ($::kvmdomain) {
                package { 'acpid':
                        ensure => installed
                }