help-cfengine
[Top][All Lists]
Advanced

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

Re: Is this quirky for a simple copy, editfiles operation?


From: Mark Burgess
Subject: Re: Is this quirky for a simple copy, editfiles operation?
Date: Thu, 12 May 2005 21:14:26 +0200

On Thu, 2005-05-12 at 14:06 -0500, Brendan Strejcek wrote:
> Roy MARANTZ wrote:
> 
> > If the action list is eliminated, IMHO, there needs to be some
> > mechanism to specify the ordering of actions. i.e. I need to
> > run shellcommands (and others) twice in order to make sure that
> > perconditions for certain actions are met. To be concrete, I need to
> > blow up a tar ball before I can override some file in it.
> 
> Wouldn't it be cool if you could just do:
> 
>     shellcommands:
>         did_some_command::
>             "/command/that/must/come/after some/command"
>         any::
>             "/some/command"
>                 define=did_some_command
> 
> and have cfagent figure out the rest? There is no complexity or
> ambiguity for the admin to sort out, and no imperative illusion.


You already can do this, if you observe AddInstallable.

M





reply via email to

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