]> git.donarmstrong.com Git - dsa-puppet.git/commitdiff
Always remove acpi packages from jessie hosts master
authorPaul Wise <pabs@debian.org>
Tue, 10 Nov 2015 02:39:53 +0000 (10:39 +0800)
committerPaul Wise <pabs@debian.org>
Tue, 10 Nov 2015 02:39:53 +0000 (10:39 +0800)
manifests/site.pp
modules/acpi/manifests/init.pp

index 3ccacfe0b76384534e76921fb5b41f77c9d50582..5b95b0c63d9e4e7053f1800d6f0a46e852444eb0 100644 (file)
@@ -71,9 +71,7 @@ node default {
 
        if $::kernel == Linux {
                include linux
-               if $::kvmdomain {
-                       include acpi
-               }
+               include acpi
        } elsif $::kernel == 'GNU/kFreeBSD' {
                include kfreebsd
        }
index 91aceaf0850ed9e5bf19c8f7d57b7d6f417c7e31..feadbe356f85bd8d840dcd34974968facb187a69 100644 (file)
@@ -8,7 +8,7 @@ class acpi {
                        package { 'acpi-support-base':
                                ensure => purged
                        }
-               } else {
+               } elsif ($::kvmdomain) {
                        package { 'acpid':
                                ensure => installed
                        }