Overriding variables...

Juri Rischel Jensen
Wed, 18 Apr 2007 10:54:05 -0000

Hi all

I''m fighting right now with the functionality of overriding
variables. I''ve made a base node with some variables:

node base {
	$country = "dk"
	$dv = "sarge"
}

And I''d like to override some of them in subnode definitions:

node server01 inherits base {
	$dv = "etch"
}

Is this possible, or do I have to wrap the variables in a class to
make it work...?


--
Med venlig hilsen
Juri Rischel Jensen

Fab:IT ApS
Vesterbrogade 50
DK-1620 København
Tlf: 70 202 407 / Fax: 33 313 640
www.fab-it.dk / juri@fab-it.dk