]> git.donarmstrong.com Git - dsa-puppet.git/commitdiff
Also populate the else branch of the hp-health pin choice
authorPeter Palfrader <peter@palfrader.org>
Thu, 19 Jun 2014 06:50:07 +0000 (08:50 +0200)
committerPeter Palfrader <peter@palfrader.org>
Thu, 19 Jun 2014 06:50:07 +0000 (08:50 +0200)
modules/hardware/manifests/init.pp

index 8b9da9d4d2a4c8e5acc5e6e2e59a49f033a43086..271b8f81d2510072eeef1f807dd2325cff11f6c6 100644 (file)
@@ -5,6 +5,10 @@ class hardware {
                file { '/etc/apt/preferences.d/dsa-hp-tools':
                        content => "Package: hp-health\nPin: version 8.6*\nPin-Priority: 1100\n"
                }
+       } else {
+               file { '/etc/apt/preferences.d/dsa-hp-tools':
+                       ensure => absent
+               }
        }
 
        include hardware::sensors