help-cfengine
[Top][All Lists]
Advanced

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

Re: how to get ordering to work?


From: Donald Zoch
Subject: Re: how to get ordering to work?
Date: Fri, 6 Aug 2004 13:10:54 -0500
User-agent: Mutt/1.3.20i

On Fri, Aug 06, 2004 at 01:08:45PM -0500, Donald Zoch wrote:
> 
> I'm having a problem where I try to define classes with 
> addclasses so that I can perform one portion of a shellcommands section,
> then do some other stuff, and come back and do the rest of the
> shellcommands section.   In the code below what happens when I 
> run it is that all of the shellcommands section executes and then 
> the files section.   I want to execute the first part of the shellcommands,
> then the files, then the last part of the shell commands.  
> What am I doing wrong here?    
> 
> control:
> 
> addclasses = ( first last )
> actionsequence = ( shellcommands.first files shellcommands.last )
> 
> shellcommands:
> 
> first::
>   "/usr/bin/test ! -f /etc/cfengine-done"
>     define=afterkick
> 
> last::
>   "/$(rpmprog) $(rpminst) $(rpm_repos)/$(instrpms)"
> 
> 

Correction to my post. Sorry.

files:

  any::
    /foo mode=0755 action=touch


Donald
----
Donald Zoch                    
Phone: (512) 602-7945
Pager: (512) 604-5401
donald.zoch@amd.com                 





reply via email to

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