From ca80f6b41f4be9dcee7c1e7712e3c8473cb3ad84 Mon Sep 17 00:00:00 2001 From: Julien Cristau Date: Tue, 8 Aug 2017 18:29:35 -0400 Subject: [PATCH] Add dell srvadmin tool to try and improve health monitoring --- modules/hardware/manifests/raid.pp | 4 ++-- .../manifests/raid/{megactl.pp => dell.pp} | 15 +++++++-------- 2 files changed, 9 insertions(+), 10 deletions(-) rename modules/hardware/manifests/raid/{megactl.pp => dell.pp} (56%) diff --git a/modules/hardware/manifests/raid.pp b/modules/hardware/manifests/raid.pp index 1705ea83f..a31fcabc1 100644 --- a/modules/hardware/manifests/raid.pp +++ b/modules/hardware/manifests/raid.pp @@ -1,8 +1,8 @@ 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 diff --git a/modules/hardware/manifests/raid/megactl.pp b/modules/hardware/manifests/raid/dell.pp similarity index 56% rename from modules/hardware/manifests/raid/megactl.pp rename to modules/hardware/manifests/raid/dell.pp index 60d24920f..f81ec7405 100644 --- a/modules/hardware/manifests/raid/megactl.pp +++ b/modules/hardware/manifests/raid/dell.pp @@ -1,13 +1,12 @@ -class hardware::raid::megactl { - - package { 'megactl': - ensure => installed, - tag => extra_repo, - } - +class hardware::raid::dell { site::aptrepo { 'debian.restricted': url => 'http://db.debian.org/debian-admin', - suite => 'lenny-restricted', + suite => 'jessie-restricted', components => 'non-free', } + + package { 'srvadmin-all': + ensure => installed, + tag => extra_repo, + } } -- 2.20.1