class hardware::raid {
include hardware::raid::proliant
- if $::productname == 'PowerEdge 2850' {
- include hardware::raid::megactl
+ if $::productname == 'PowerEdge 1950' {
+ include hardware::raid::dell
}
include hardware::raid::raidmpt
--- /dev/null
+class hardware::raid::dell {
+ site::aptrepo { 'debian.restricted':
+ url => 'http://db.debian.org/debian-admin',
+ suite => 'jessie-restricted',
+ components => 'non-free',
+ }
+
+ package { 'srvadmin-all':
+ ensure => installed,
+ tag => extra_repo,
+ }
+}
+++ /dev/null
-class hardware::raid::megactl {
-
- package { 'megactl':
- ensure => installed,
- tag => extra_repo,
- }
-
- site::aptrepo { 'debian.restricted':
- url => 'http://db.debian.org/debian-admin',
- suite => 'lenny-restricted',
- components => 'non-free',
- }
-}