help-cfengine
[Top][All Lists]
Advanced

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

Re: Namespace syntax


From: Chip Seraphine
Subject: Re: Namespace syntax
Date: Fri, 02 Sep 2005 14:44:26 -0500
User-agent: Mozilla Thunderbird 1.0.5 (X11/20050711)

OK, found it; trick is to look for "contexts", not namespaces. We might want to slip a gratuitous use of the word "namespace" into the context description so that future keyword searchers have a better time of it.

I'm trying what is documented in the Reference without luck.

I have in update.conf:

control:
   foo=   ( bar )


and in cfagent.conf:

   baz= ( ${update.foo} )



But attempts to use $(baz) later on in line yield a literal ${update.foo} rather tha $(baz). Does anyone else see this sort of thing?

Chip Seraphine wrote:

I know I have seen it before, but I am having trouble finding examples of the namespace syntax. I'd like my cfagent.conf to be able to pull variables out of update.conf, and I'm unable to see an example of this. I think it was something like ${updateconf.varname} or the like....

I'm also wondering if I can determine wether or not a class is defined in the update namespace from cfagent.conf (and later).

Sorry to ask this, since I am certain the answer is already available somewhere....



--

Chip Seraphine
Unix Administrator
TradeLink, LLC
312-264-2048
chip@trdlnk.com






reply via email to

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