help-cfengine
[Top][All Lists]
Advanced

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

how to get ordering to work?


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

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)"


files::
   /foor 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]