From: Peter Palfrader Date: Thu, 19 Jun 2014 06:50:07 +0000 (+0200) Subject: Also populate the else branch of the hp-health pin choice X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=9476f6b0e0f2e86436f9b2656bef781534247ec0;p=mirror%2Fdsa-puppet.git Also populate the else branch of the hp-health pin choice --- diff --git a/modules/hardware/manifests/init.pp b/modules/hardware/manifests/init.pp index 8b9da9d4d..271b8f81d 100644 --- a/modules/hardware/manifests/init.pp +++ b/modules/hardware/manifests/init.pp @@ -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