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 15:11:57 +0200 (MEST)


On 26 Jul, Oyvind Gronnesby wrote:
> * Mark Burgess
> |
> | 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.
> 
> Hm, then it's still not clear to me exactly what a context is.  Is it
> just a namespace that I can make for my variables with whatever names
> or are they in some way connected to classes and their definitions?
> 

The name spaces are private for the different phases of execution: 
update, main and individual methods (subroutines). They are not
user definable except for the methods.

> It would be a really neat feature if I could access a variable based
> on which classes are defined with a syntax like that (without actually
> setting the classes, just accessing values based on a `what if'
> scenario).  Feature for next release?  :-)

That's an interesting idea. I'll keep it in mind,

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]