I believe cfengine runs through the scripts twice, to resolve dependencien or some such. Rename your classes "alpha", "beta", "delta" and watch what happens.
On 10/6/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > Hi, > > does somebody can explain me how cfengine deal with ActionSequence > and Temporary classes ?? > I'm probably doing something wrong ...because cfengine do a second > pass with each of the defined > > > I've configured the Actionsequence like this : > > ActionSequence = ( > resolve > > directories.pass1 > copy.pass1 > files.pass1 > editfiles.pass1 > shellcommands.pass1 > processes.pass1 > > directories.pass2 > copy.pass2 > files.pass2 > editfiles.pass2 > shellcommands.pass2 > processes.pass2 > > directories.pass3 > copy.pass3 > files.pass3 > editfiles.pass3 > shellcommands.pass3 > processes.pass3 > > tidy > disable > ) > > > When i start cfagent, it runs in this order : > > > Main Tree Sched: resolve pass 1 @ Thu Oct 6 11:33:45 2005 > Main Tree Sched: directories.pass1 pass 1 @ Thu Oct 6 11:33:45 2005 > Main Tree Sched: copy.pass1 pass 1 @ Thu Oct 6 11:33:45 2005 > Main Tree Sched: files.pass1 pass 1 @ Thu Oct 6 11:33:45 2005 > Main Tree Sched: editfiles.pass1 pass 1 @ Thu Oct 6 11:33:45 2005 > Main Tree Sched: shellcommands.pass1 pass 1 @ Thu Oct 6 11:33:45 2005 > Main Tree Sched: processes.pass1 pass 1 @ Thu Oct 6 11:33:47 2005 > > Main Tree Sched: directories.pass2 pass 1 @ Thu Oct 6 11:33:47 2005 > Main Tree Sched: copy.pass2 pass 1 @ Thu Oct 6 11:33:47 2005 > Main Tree Sched: files.pass2 pass 1 @ Thu Oct 6 11:33:47 2005 > Main Tree Sched: editfiles.pass2 pass 1 @ Thu Oct 6 11:33:47 2005 > Main Tree Sched: shellcommands.pass2 pass 1 @ Thu Oct 6 11:33:47 2005 > Main Tree Sched: processes.pass2 pass 1 @ Thu Oct 6 11:33:47 2005 > > Main Tree Sched: directories.pass3 pass 1 @ Thu Oct 6 11:33:48 2005 > Main Tree Sched: copy.pass3 pass 1 @ Thu Oct 6 11:33:48 2005 > Main Tree Sched: files.pass3 pass 1 @ Thu Oct 6 11:33:48 2005 > Main Tree Sched: editfiles.pass3 pass 1 @ Thu Oct 6 11:33:48 2005 > Main Tree Sched: shellcommands.pass3 pass 1 @ Thu Oct 6 11:33:48 2005 > Main Tree Sched: processes.pass3 pass 1 @ Thu Oct 6 11:33:48 2005 > > Main Tree Sched: tidy pass 1 @ Thu Oct 6 11:33:48 2005 > Main Tree Sched: disable pass 1 @ Thu Oct 6 11:33:51 2005 > > ***** that's exactly what i wanted but a this moment cfengine do a second > pass by himself > > Main Tree Sched: resolve pass 2 @ Thu Oct 6 11:33:51 2005 > Main Tree Sched: directories.pass1 pass 2 @ Thu Oct 6 11:33:51 2005 > Main Tree Sched: copy.pass1 pass 2 @ Thu Oct 6 11:33:51 2005 > Main Tree Sched: files.pass1 pass 2 @ Thu Oct 6 11:33:51 2005 > Main Tree Sched: editfiles.pass1 pass 2 @ Thu Oct 6 11:33:51 2005 > Main Tree Sched: shellcommands.pass1 pass 2 @ Thu Oct 6 11:33:51 2005 > Main Tree Sched: processes.pass1 pass 2 @ Thu Oct 6 11:33:51 2005 > Main Tree Sched: directories.pass2 pass 2 @ Thu Oct 6 11:33:51 2005 > Main Tree Sched: copy.pass2 pass 2 @ Thu Oct 6 11:33:51 2005 > Main Tree Sched: files.pass2 pass 2 @ Thu Oct 6 11:33:51 2005 > Main Tree Sched: editfiles.pass2 pass 2 @ Thu Oct 6 11:33:51 2005 > Main Tree Sched: shellcommands.pass2 pass 2 @ Thu Oct 6 11:33:51 2005 > Main Tree Sched: processes.pass2 pass 2 @ Thu Oct 6 11:33:51 2005 > Main Tree Sched: directories.pass3 pass 2 @ Thu Oct 6 11:33:52 2005 > Main Tree Sched: copy.pass3 pass 2 @ Thu Oct 6 11:33:52 2005 > Main Tree Sched: files.pass3 pass 2 @ Thu Oct 6 11:33:52 2005 > Main Tree Sched: editfiles.pass3 pass 2 @ Thu Oct 6 11:33:52 2005 > Main Tree Sched: shellcommands.pass3 pass 2 @ Thu Oct 6 11:33:52 2005 > Main Tree Sched: processes.pass3 pass 2 @ Thu Oct 6 11:33:52 2005 > Main Tree Sched: tidy pass 2 @ Thu Oct 6 11:33:52 2005 > Main Tree Sched: disable pass 2 @ Thu Oct 6 11:33:52 2005 > > > > Thank you, > > Francois Vanderpoorte > Unix system engineer > Banksys S.A. -- IT/SE > 1442 Chee de Haecht > 1140 Evere - Belgium > Tel : +32 2 727 8943 > > > > sa Banksys nv - Chaussee de Haecht 1442 Haachtsesteenweg - 1130 Brussels - > Belgium > RPM-RPR Bruxelles-Brussel - TVA-BTW BE 0418.547.872 > Bankrekening-Compte Bancaire-Bank Account 310-0269424-44 > BIC BBRUBEBB - IBAN BE55 3100 2694 2444 > > "The information contained in this e-mail and any attachment thereto is > confidential and may contain information which is protected by intellectual > property rights. > This information is intended for the exclusive use of the recipient(s) > named above. > This e-mail does not constitute any binding relationship or offer toward > any of the addressees. > If you are not one of the addressees , one of their employees or a proxy > holder entitled to hand over this message to the addressee(s), any use of > the information contained herein (e.g. reproduction, divulgation, > communication or distribution,...) is prohibited. > If you have received this message in error, please notify the sender and > destroy it immediately after. > The integrity and security of this message cannot be guaranteed and it may > be subject to data corruption, interception and unauthorized amendment, for > which we accept no liability." > > _______________________________________________ > Help-cfengine mailing list > [email protected] > http://lists.gnu.org/mailman/listinfo/help-cfengine > > > -- -- Perfection is just a word I use occasionally with mustard. --Atom Powers-- _______________________________________________ Help-cfengine mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-cfengine
