help-cfengine
[Top][All Lists]
Advanced

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

Re: Serialization


From: Tim Nelson
Subject: Re: Serialization
Date: Mon, 27 Sep 2004 10:05:52 +1000 (EST)

On Fri, 24 Sep 2004, David E. Nelson wrote:


If I have an actiontionsequence that has 'copy.stage', am I guaranteed that the order of execution would be in the order given below? Or should I be iterating over lists instead?

Thanks,
         /\/elson

No. But assuming just for a second that you wanted the order to be:
-       all
-       solaris
-       <specific version, but don't care about ordering>

        ...you could do

        actionsequence = ( copy.allstage copy.solarisstage copy.versionstage )

copy:
   all.allstage::
       /var/cfengine/dist/all
           dest=/var/cfengine/stage
           recurse=inf
           server=$(DistServer)
           action=silent
           type=checksum
           backup=timestamp

   solaris.solarisstage::

       /var/cfengine/dist/solaris
           dest=/var/cfengine/stage
           recurse=inf
           server=$(DistServer)
           action=silent
           type=checksum
           backup=timestamp

   sunos_5_6.versionstage::

       /var/cfengine/dist/sunos_5_6
           dest=/var/cfengine/stage
           recurse=inf
           server=$(DistServer)
           action=silent
           type=checksum
           backup=timestamp


   sunos_5_8.versionstage::

       /var/cfengine/dist/sunos_5_8
           dest=/var/cfengine/stage
           recurse=inf
           server=$(DistServer)
           action=silent
           type=checksum
           backup=timestamp

   sunos_5_9.versionstage::

       /var/cfengine/dist/sunos_5_9
           dest=/var/cfengine/stage
           recurse=inf
           server=$(DistServer)
           action=silent
           type=checksum
           backup=timestamp

--
Tim Nelson
Server Administrator
WebAlive Technologies Global
Level 1 Innovation Building, Digital Harbour
1010 LaTrobe Street
Docklands, Melbourne, Vic, 3008
Phone: +61 3 9934 0812
Fax: +61 3 9934 0899
E-mail: tim.nelson@webalive.biz
http://www.webalive.biz/



reply via email to

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