Use a method or module...
On Tue, 2005-10-04 at 16:59, Martin, Jason H wrote: > The problem is that in order to use rsync to download the repository > (see the earlier part of this thread for the overall problem), I need a > few specific shellcommands to > run before the copy action and the rest of the shellcommands. The set of > 'prep' shellcommands is much much smaller than the set of 'later' > shellcommands, and it is easier to manage tagging the smaller set then > the larger set. > > Thank you, > -Jason Martin > > > -----Original Message----- > > From: Ed Brown [mailto:[EMAIL PROTECTED] > > Sent: Tuesday, October 04, 2005 3:55 PM > > To: Martin, Jason H > > Cc: [email protected] > > Subject: RE: Optimizing large copies - actionsequence > > > > > > On Tue, 2005-10-04 at 15:35, Martin, Jason H wrote: > > > > > How would one set up the actionsequence for this? The > > manual indicates > > > that I'd put in something like: ( > > > shellcommands.prepare > > > copy > > > shellcommands > > > > This doesn't work at all in practice (having an unqualified > > action AFTER a qualified action in the sequence; see previous > > threads about actionsequence). > > > > But you might get some mileage out of: > > > > actionsequence = ( shellcommands copy shellcommands.later ) > > > > Now you only have to qualify the 'later' shellcommands. > > > > -Ed > > > > _______________________________________________ Help-cfengine mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-cfengine
