help-cfengine
[Top][All Lists]
Advanced

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

Re: PrepModule


From: John Sechrest
Subject: Re: PrepModule
Date: Thu, 01 Jul 2004 14:27:59 -0700

My previous configuration had the modules in /var/cfengine/modules
and it worked. I am running 2.1.6 now... And PrepModules seems
to not see things in /var/cfengine/modules. But it works if
I get explicit about the full path name for the file.




Mark.Burgess@iu.hio.no writes:

 % 
 % 
 % On 30 Jun, Chip Seraphine wrote:
 % > 
 % > I've been using Prepmodule lately and it really helps me out a lot. 
However, 
 % > it seems to have a couple of problems:
 % > 
 % > 1) I need to put a full path to the module.  That is fine (since it 
presumably 
 % > implies the module can live somewhere other than cfmodules/), but it needs 
to 
 % > be documented if it is intentional.  Or the function ought to search 
 % > cfmodules if the first char of the module name != '/'.  
 % 
 % This does not seem to be true. Perhaps you are using an earlier version
 % with some bugs. The module needs to be in the module directory.
 % 
 %  
 % > 2) Variable expansion doesn't seem to work properly in the argument field. 
 I 
 % > assume this is somehow related to the fact that it lives in the groups: 
 % > section?  At any rate, I have had no success in passing good old 
 % > ${allclasses} to the module.  (Haven't tried using the environment, 
though.)  
 % > This should probably be either fixed or documented.....
 % 
 % 
 % An oversight. This is now fixed in the current snaopshot
 % 
 % Mark
 % 
 % 
 % 
 % ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 % Work: +47 22453272            Email:  Mark.Burgess@iu.hio.no
 % Fax : +47 22453205            WWW  :  http://www.iu.hio.no/~mark
 % ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 % 
 % 
 % 
 % _______________________________________________
 % Help-cfengine mailing list
 % Help-cfengine@gnu.org
 % http://lists.gnu.org/mailman/listinfo/help-cfengine

-----
John Sechrest          .         Helping people use
                        .           computers and the Internet
                          .            more effectively
                             .                      
                                 .       Internet: sechrest@peak.org
                                      .   
                                              . http://www.peak.org/~sechrest




reply via email to

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