From 9476f6b0e0f2e86436f9b2656bef781534247ec0 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Thu, 19 Jun 2014 08:50:07 +0200 Subject: [PATCH] Also populate the else branch of the hp-health pin choice --- modules/hardware/manifests/init.pp | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 2.20.1