help-cfengine
[Top][All Lists]
Advanced

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

Re: repeated actions in actionsequence


From: Mohamed Eldesoky
Subject: Re: repeated actions in actionsequence
Date: Sun, 16 May 2004 14:27:13 +0300
User-agent: KMail/1.6.2

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

To clarify it again.

I want to copy a file from remote-server to the client in a temp directory.
Then edit that file, and finally move that same file to a different directory.

On Sunday 16 May 2004 2:02 pm, Mohamed Eldesoky wrote:
> It is the same class, alas.
>
> On Sunday 16 May 2004 1:40 pm, Kurt Lieber wrote:
> > 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
>
> _______________________________________________
> Help-cfengine mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/help-cfengine
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQFAp1AT2FHsOWMJBKMRAi3+AKCNfGWdMGiCH8PxFzaG20sNYj0P3wCg1xL9
yGkNll53UbTUYnL7kR60GhE=
=K32N
-----END PGP SIGNATURE-----




reply via email to

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