Displaying 1 result from an estimated 1 matches for "fc_hba".
Did you mean:
lpfc_hba
2007 Jun 08
5
Help needed with a basic recipe
.../bin/bash
vendor=1077 # QLogic
model=2422 # 24xx hba
/sbin/lspci -n -d $vendor:$model | grep $vendor | grep $model > /dev/null
if [ $? = 0 ]
then
# Install package
fi
I believe I need to write a define that does an exec with the $vendor
and $model passed to it through a class:
define fc_hba($vendor,$model) {
exec { "probe_hba":
command => "/sbin/lspci -n -d $vendor:$model | grep
$vendor | grep $model > /dev/null"
}
}
class install_fc_hba_software {
fc_hba {
vendor => 1700,
model...