projects
/
mirror
/
dsa-puppet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
639e75b
)
Also populate the else branch of the hp-health pin choice
author
Peter Palfrader
<peter@palfrader.org>
Thu, 19 Jun 2014 06:50:07 +0000
(08:50 +0200)
committer
Peter Palfrader
<peter@palfrader.org>
Thu, 19 Jun 2014 06:50:07 +0000
(08:50 +0200)
modules/hardware/manifests/init.pp
patch
|
blob
|
history
diff --git
a/modules/hardware/manifests/init.pp
b/modules/hardware/manifests/init.pp
index
8b9da9d
..
271b8f8
100644
(file)
--- 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