help-cfengine
[Top][All Lists]
Advanced

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

Re: copy define not working >:|


From: Eric Sorenson
Subject: Re: copy define not working >:|
Date: Tue, 6 May 2003 22:34:04 -0700 (PDT)

On 7 May 2003, Christopher DeMarco wrote:

> /etc/inittab  is being  copied  okay,  but class  "a"  is never  getting
> defined!  The output of ``cfagent -v'' shows ``Installable classes = ( a
> )'' so it's *seeing* my class... 

Yeah but you probably need to define 

    control:

        AddInstallable = ( a )

so cfengine knows to "watch" for it being defined. 

[ http://www.cfengine.org/docs/cfengine-Reference.html#addinstallable ]

    Some actions in your cfengine program will be labelled by classes
    which only become defined at run time using a define= option.
    Cfengine is not always able to see these classes until it meets them
    and tries to save space by only loading actions for classes which is
    believes will become defined at some point in the program. This can
    lead to some actions being missed if the action is parsed before the
    place where the class gets switched on, since cfengine is a one-pass
    interpreter,. To help cfengine determine classes which might become
    defined during a run, you can declare them in this list.


-- 

    Eric Sorenson - EXPLOSIVE Networking - http://explosive.net





reply via email to

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