projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Pin older hp-health on DL3*0 G5
[mirror/dsa-puppet.git]
/
modules
/
hardware
/
manifests
/
raid
/
proliant.pp
diff --git
a/modules/hardware/manifests/raid/proliant.pp
b/modules/hardware/manifests/raid/proliant.pp
index
574d601
..
fe6cbc9
100644
(file)
--- a/
modules/hardware/manifests/raid/proliant.pp
+++ b/
modules/hardware/manifests/raid/proliant.pp
@@
-2,26
+2,23
@@
class hardware::raid::proliant {
site::aptrepo { 'debian.restricted':
url => 'http://db.debian.org/debian-admin',
site::aptrepo { 'debian.restricted':
url => 'http://db.debian.org/debian-admin',
- suite =>
'lenny-restricted'
,
+ suite =>
"${::lsbdistcodename}-restricted"
,
components => 'non-free',
}
package { 'hpacucli':
ensure => installed,
components => 'non-free',
}
package { 'hpacucli':
ensure => installed,
- require => [
- File['/etc/apt/sources.list.d/debian.restricted.list'],
- Exec['apt-get update']
- ]
+ tag => extra_repo,
}
}
- package { 'hp-health':
- ensure => installed,
- require => [
- File['/etc/apt/sources.list.d/debian.restricted.list'],
- Exec['apt-get update']
- ]
+ package { 'hpssacli':
+ ensure => installed,
+ tag => extra_repo,
}
}
- package { 'arrayprobe':
- ensure => installed,
+ if !("$::systemproductname" in ["ProLiant DL180 G5", "ProLiant DL120 G5", "ProLiant ML150 G5"]) {
+ package { 'hp-health':
+ ensure => installed,
+ tag => extra_repo,
+ }
}
if $::debarchitecture == 'amd64' {
}
if $::debarchitecture == 'amd64' {