Renamed mdarrays fact to raid, added support for hardware controllers
This commit is contained in:
parent
422fc90f78
commit
027ecc1fce
3 changed files with 30 additions and 16 deletions
|
@ -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 ? {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue