help-cfengine
[Top][All Lists]
Advanced

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

Re: Separate cfengine instance between update and main / package install


From: Tim Nelson
Subject: Re: Separate cfengine instance between update and main / package installation
Date: Wed, 17 Nov 2004 09:42:08 +1100 (EST)

On Tue, 16 Nov 2004, Jan Y. Brueckner wrote:

actionsequence = ( copy.install shellcommands.install  otheractions
....copy shellcommands )

        I do two things differently:
1.      If there are multiple instances of something (ie. you have two
        lots of 'copy' and 'shellcommands'), then I add a class specifier
        after *all* instances.
2.      I divide the whole thing into phases (with comments :) ), so
        something like:
        actionsequence  = (
                # Miscellaneous
                files.initialchecks copy.initial links resolve
                # Configuration changes (copy must be before shellcommands)
                copy.config shellcommands.config editfiles.config
                # Postconfig; things that must be after configuration
                copy.postconfig files.postconfig
                shellcommands.reload shellcommands.postconfig
                # Final checks
                files.checksumming
        )

        :)

--
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]