help-cfengine
[Top][All Lists]
Advanced

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

Re: module macros are expanded too late - was Determining Solaris patch


From: Ed Brown
Subject: Re: module macros are expanded too late - was Determining Solaris patch revisions
Date: Fri, 23 Sep 2005 11:24:55 -0600

On Fri, 2005-09-23 at 06:20, address@hidden wrote:

>    sl3 = ( PrepModule(HasSL,"noargs") )

By the way, for PrepModule, the class is "True if the named module
exists and can be executed." 
(http://www.cfengine.org/docs/cfengine-Reference.html#index-PrepModule-3)
This in itself seems kind of useless.  The documentation doesn't explain
if the output (+ClassName) is also used as it is with regular modules. 
My 'module' was just a shell script with /bin/true.

Anybody using PrepModule to define classes/variables inside the module? 
When is it useful to define a class just based on a module existing and
being executable?

-Ed  





reply via email to

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