我想在下面的chef-recipe中实现逻辑。我怎么能实现这个
File=/tmp/productMain.param
if [ -f "${File}" ]; then
if [ -f /tmp/monitor.sh ]; then
echo "[INFO] configuration beeing processed"
/tmp/monitor.sh $File
else
error "The monitor script doe not exit
exit 1
fi
else
error "input file does not exist"
exit 1
fi