help-cfengine
[Top][All Lists]
Advanced

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

Re: actionsequence suggestion


From: Ed Brown
Subject: Re: actionsequence suggestion
Date: Mon, 10 Jan 2005 14:40:43 -0700

Or use the attribute tag for this too, maybe:

copy:
  /source dest=/dest priority=none



On Mon, 2005-01-10 at 13:47, John Borwick wrote:
> 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





reply via email to

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