Renamed mdarrays fact to raid, added support for hardware controllers

This commit is contained in:
Ossi Salmi 2013-07-11 17:22:52 +03:00
parent 422fc90f78
commit 027ecc1fce
3 changed files with 30 additions and 16 deletions

View file

@ -291,7 +291,7 @@ class nagios::target::nrpe inherits nagios::target {
}
}
if $::kernel == "Linux" and $::mdarrays {
if $::raid and "linux-md" in split($::raid, ',') {
nagios::target::nrpe::service { "check_linux_raid":
description => "RAID",
package => $::operatingsystem ? {