It seems that during my testing the elsedefine option to a processes
stanza fails to take effect unless there is a restart command
specified.

Looking back in the archive, I found:

http://lists.gnu.org/archive/html/bug-cfengine/2002-08/msg00055.html

Which directly relates to the problem.

processes:
   "ntpd"
       elsedefine=restart_ntpd

The restart_ntpd class is not defined if ntpd is not found.

However, if you specify a restart command the class is created.

processes:
   "ntpd" restart ""
       elsedefine=restart_ntpd

Can anyone else confirm this behavior, especially with a recent version?

I'm running cfagent v2.1.0p1.

Russell

-----------------------------
Russell Adams
[EMAIL PROTECTED]
http://www.adamsinfoserv.com/


_______________________________________________
Help-cfengine mailing list
Help-cfengine@gnu.org
http://lists.gnu.org/mailman/listinfo/help-cfengine

Reply via email to