help-cfengine
[Top][All Lists]
Advanced

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

Re: cfengine bug?


From: Mark Burgess
Subject: Re: cfengine bug?
Date: Fri, 7 Feb 2003 16:36:11 +0100 (MET)

On  7 Feb, Rajeev Agrawala wrote:
> Hi,
> 
> I am trying to add a line containing "${key}" in the line. If I try to
> do
> 
> AppendIfNoSuchLine "sometext${key}
> 
> I get $(key) is not a defined variable and the line gets added with 
> curly braces replaced by '$(key)'
> 
> If I use
> 
> AppendIfNoSuchLine "sometext$(DOLLAR){key}"
> 
> I would expect it to do the right thing and not treat $(DOLLAR){key}
> as a variable ${key}. But still it does the same thing and finally I
> get "sometext$(key)" in the file.
> 
> Anyway I can get cfengine to put ${key} in the file (curly braces)?
> 
> I am using version 1.6.3 on FreeBSD 4.7-Release
> 
> 
> Thanks,
> 
> rajeev
> 
> 
> 
> 
> _______________________________________________
> Help-cfengine mailing list
> Help-cfengine@gnu.org
> http://mail.gnu.org/mailman/listinfo/help-cfengine



Thank you for reminding me about this problem. It goes back to another
problem that I cannot quite remember. I shall look at this again.

M


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Work: +47 22453272            Email:  Mark.Burgess@iu.hio.no
Fax : +47 22453205            WWW  :  http://www.iu.hio.no/~mark
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~





reply via email to

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