--- inputs/ISS/wwwnext.cf (revision 739)
+++ inputs/ISS/wwwnext.cf (revision 740)
control:
- actionsequence = ( directories packages copy )
+ actionsequence = ( directories packages copy shellcommands )
AllowRedefinitionOf = ( RPMInstallCommand )
RPMInstallCommand = ( "/usr/bin/yum -y install %s" )
+classes:
+ wwwnext_hb_running = ( ReturnsZeroShell(/sbin/pidof heartbeat) )
+
directories:
/etc/ha.d mode=755 owner=0 group=0
mode=0644
server=${cfmaster}
+shellcommands:
+ !wwwnext_hb_running::
+ "/sbin/service heartbeat start"