help-cfengine
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Process elsedefine issue


From: Russell Adams
Subject: Process elsedefine issue
Date: Mon, 7 Mar 2005 08:19:33 -0600
User-agent: Mutt/1.4.2.1i

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
RLAdams@AdamsInfoServ.com
http://www.adamsinfoserv.com/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]