Signed-off-by: Stephen Gran <steve@lobefin.net>
ishp = "true" if s =~ /RAID bus controller: (.*) Smart Array/
}
end
- ishp
+ ishp == "true"
end
end
is3w = "true" if x =~ /Vendor: 3ware/
}
end
- is3w
+ is3w == "true"
end
end
swraid = "true" if x =~ /md[0-9]+ : active/
}
end
- swraid
+ swraid == "true"
end
end
include samhain
include debian-org
- case $smartarraycontroller {
- "true": { include debian-proliant }
- default: {}
+ if $smartarraycontroller {
+ include debian-proliant
}
case $mta {
"exim4": { include exim }