projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add mirror-accumu to security_mirror
[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
55bd740
..
a19ec28
100644
(file)
--- a/
modules/hardware/manifests/raid/proliant.pp
+++ b/
modules/hardware/manifests/raid/proliant.pp
@@
-1,23
+1,34
@@
class hardware::raid::proliant {
class hardware::raid::proliant {
+ if $::smartarraycontroller {
+ site::aptrepo { 'debian.restricted':
+ url => 'http://db.debian.org/debian-admin',
+ suite => "${::lsbdistcodename}-restricted",
+ components => 'non-free',
+ }
-
site::aptrepo { 'debian.restricted
':
-
url => 'http://db.debian.org/debian-admin'
,
-
suite => "${::lsbdistcodename}-restricted"
,
- components => 'non-free',
- }
-
- package { 'hpacucli':
- ensure => installed,
- tag => extra_repo,
- }
- package { 'hp-health':
-
ensure => installed
,
- tag => extra_repo,
- }
+
package { 'hpacucli
':
+
ensure => installed
,
+
tag => extra_repo
,
+ }
+ package { 'hpssacli':
+ ensure => installed,
+ tag => extra_repo,
+ }
+ if !("$::systemproductname" in ["ProLiant DL180 G5", "ProLiant DL120 G5", "ProLiant ML150 G5"]) {
+ package { 'hp-health':
+ ensure => installed,
+
tag => extra_repo
,
+ }
+
}
- if $::debarchitecture == 'amd64' {
- package { 'lib32gcc1':
- ensure => installed,
+ if $::debarchitecture == 'amd64' {
+ package { 'lib32gcc1':
+ ensure => installed,
+ }
+ }
+ } else {
+ site::aptrepo { 'debian.restricted':
+ ensure => absent,
}
}
}
}
}
}