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
[EMAIL PROTECTED]




_______________________________________________
Help-cfengine mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-cfengine

Reply via email to