On Fri, 2005-03-04 at 15:06, Phil D'Amore wrote:
> Besides, classes from modules only get defined after you
> use them, so the class won't be defined for the entire time the agent is
> running.

But not with PrepModule. From 

http://www.cfengine.org/docs/cfengine-Reference.html#Evaluated-classes-and-special-functions

PrepModule(module,arg1 arg2...)
        True if the named module exists and can be executed. The module
        is assumed to follow the standard programming interface for
        modules (see Writing plugin modules in tutorial). Unlike
        actionsequence modules, these modules are evaluated immediately
        on parsing. Note that the module should be specified relative to
        the authorized module directory.
        
Jim



_______________________________________________
Help-cfengine mailing list
Help-cfengine@gnu.org
http://lists.gnu.org/mailman/listinfo/help-cfengine

Reply via email to