r744 |r745| r747
Index: inputs/ISS/wwwnext.cf
===================================================================
--- inputs/ISS/wwwnext.cf	(revision 744)
+++ inputs/ISS/wwwnext.cf	(revision 745)
@@ -4,7 +4,8 @@
   RPMInstallCommand = ( "/usr/bin/yum -y install %s" )
 
 classes:
-    wwwnext_hb_running = ( ReturnsZeroShell(/sbin/pidof heartbeat >/dev/null) )
+  wwwnext_hb_running = ( ReturnsZeroShell(/sbin/pidof heartbeat >/dev/null) )
+  wwwnext_mod_loaded = ( ReturnsZeroShell(/sbin/lsmod | /bin/grep drbd  >/dev/null) )
 
 directories:
  /etc/ha.d mode=755 owner=0 group=0
@@ -54,3 +55,5 @@
 shellcommands:
  !wwwnext_hb_running::
     "/sbin/service heartbeat start"
+ !wwwnext_mod_loaded::
+    "/sbin/modprobe drbd"