help-cfengine
[Top][All Lists]
Advanced

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

Re: repeated actions in actionsequence


From: Kurt Lieber
Subject: Re: repeated actions in actionsequence
Date: Sun, 16 May 2004 06:40:18 -0400
User-agent: Mutt/1.5.5.1i

On Sun, May 16, 2004 at 12:44:08PM +0300 or thereabouts, Mohamed Eldesoky wrote:
> I want to have repeated actions in actionsequence.
> ie, I want to have actionsequence = ( copy editfiles copy shellcommands )
> 
> Clearly I want to do a first copy, then edit the copied file, then copy it 
> again to its final destination.

Try:

actionsequence = {
         copy.class1
                 editfiles
                 copy.class2
                 shellcommands
}

copy:
        class1::
                <do stuff>
        
        class2::
                <do different stuff>

--kurt

Attachment: pgpjTTr6I7VYE.pgp
Description: PGP signature


reply via email to

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