projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix tracker chain
[mirror/dsa-puppet.git]
/
modules
/
hardware
/
manifests
/
init.pp
diff --git
a/modules/hardware/manifests/init.pp
b/modules/hardware/manifests/init.pp
index
8b9da9d
..
7e474c1
100644
(file)
--- a/
modules/hardware/manifests/init.pp
+++ b/
modules/hardware/manifests/init.pp
@@
-1,10
+1,14
@@
class hardware {
include hardware::raid
class hardware {
include hardware::raid
- if "$::systemproductname" in ["ProLiant
BL495c G5", "ProLiant
DL385 G1", "ProLiant DL380 G4", "ProLiant DL360 G4"] {
+ if "$::systemproductname" in ["ProLiant DL385 G1", "ProLiant DL380 G4", "ProLiant DL360 G4"] {
file { '/etc/apt/preferences.d/dsa-hp-tools':
content => "Package: hp-health\nPin: version 8.6*\nPin-Priority: 1100\n"
}
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
}
include hardware::sensors