help-cfengine
[Top][All Lists]
Advanced

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

Re: contexts and variables


From: Mark . Burgess
Subject: Re: contexts and variables
Date: Mon, 26 Jul 2004 14:53:56 +0200 (MEST)


On 26 Jul, Oyvind Gronnesby wrote:
> 
> The reference manual was appropriatly vague about this, so it's not
> clear to me exactly what a `context' is.  Is it a way to access the
> value of a variable at different stages of actionsequence, or a way
> of accessing variables as they would have been set for different
> classes?
> 
> What I want to do is to access a value with $(hostname.ldap_basedn)
> and such on a different host than "hostname".  Is this at all
> possible, and can I do $(*.ldap_basedn) or some other wildcard to
> access the values for all the different hosts?
> 

Hei Øyvind,

this is not possible, alas. The contexts are only different
private workspaces on a single host. If you want to discover
information from another host, you need to copy it as data
or perform a remote method invocation - but that is probably
more complicated than you want.

Mark

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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]