bug-cfengine
[Top][All Lists]
Advanced

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

Re: miscmounts problem.


From: Robert Shaw
Subject: Re: miscmounts problem.
Date: Wed, 18 Apr 2001 14:59:45 -0700
User-agent: Mutt/1.2.5i

On Tue, Apr 17, 2001 at 10:16:35PM +0200, Mark Burgess wrote:
> On 17 Apr, Robert Shaw wrote:
> > On Tue, Apr 17, 2001 at 07:11:55AM +0200, address@hidden wrote:
> >> 
> >> Is this perhaps because the variables are not defined? 
> >> 
> > 
> > No, it is defined. Here's my example:
> > 
> > control:
> >     domain = ( mxim.com )
> > 
> >     myserver = ( arizona )
> >     svrpath = ( /export/hostcfg )
> >     mypath = ( /export/junk )
> > 
> >     actionsequence = ( 
> >             addmounts
> >     )
> > 
> > miscmounts:
> > 
> >     $(myserver):$(svrpath)  $(mypath)       mode=rw
> > 
> > It doesn't fill in the $(mypath) variable. But it does all the others.
> > 
> > -Robert
> 
> 
> Aha - a typo in install.c Here's a patch

+ ExpandVarstring(path,VBUFF,"");
+  
  AppendItem(&VMOUNTABLES,path,CLASSBUFF);

Shouldn't that be a VBUFF in the "AppendItem" line?

-Robert




reply via email to

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