class foo {
@$arr = ['a', 'b']
realize($arr)
}
class foo::c inherits foo {
$arr += ['c']
}
class foo::d inherits foo {
$arr += ['d']
}
node ab {
include foo
}
node abc {
include foo:c
}
node abcd {
include foo:c
include foo:d
}
I think the way things currently are, node "abc" would be fine but node "abcd"
would fail because of trying to reassign the variable.
If not virtual resouces, what is the best way to append to an array when you
don't know what the final outcome of the array needs to be?
-Doug