help-cfengine
[Top][All Lists]
Advanced

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

Re: actionsequence suggestion


From: John Borwick
Subject: Re: actionsequence suggestion
Date: Mon, 10 Jan 2005 15:47:22 -0500
User-agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.3) Gecko/20041110

Ed Brown wrote:
On Sun, 2005-01-09 at 23:14, Tim Nelson wrote:
[snip]
1.      Does not encourage sequential thinking (as this is not cfenginely)
2.      Allows sequential sequences where necessary
3.      Uses something more user-friendly than the current actionsequence
        solutions to these problems.
[snip]
Also no mention was made of backwards compatibility.
[snip]

Perhaps there could be some way to indicate that "order does not matter" for a certain group of commands. Not that this particular solution would be great, but what about something like (not real code):

packages:
  "net-snmp" elsedefine=no_rpm_net_snmp

shellcommands:
  no_rpm_net_snmp::
    "up2date net-snmp"

[ORDERING=OFF]
copy:
  /to from=/somewhere/else

[ORDERING=ON]
  /etc/snmp from=/proto/etc/snmp


So all the stuff inside the "unordered" area can be run whenever (e.g. in many separate threads), but the rest of the file is run according to actionsequence.

Yours,
John
--
           John Borwick
       System Administrator
      Wake Forest University | web  http://www.wfu.edu/~borwicjh
      Winston-Salem, NC, USA | GPG key ID             0x797326D5

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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