Displaying 1 result from an estimated 1 matches for "01_config".
Did you mean:
00config
2011 Aug 01
0
prep for 2.8: scopes and variables: nodes are not classes
...e the
node as a class, and then include that
class in a trivial node. You can then
get at the variables by explicitly
mentioning the scope of the class.
This post doesn''t talk about default
values, inheritance, or specialization.
I will talk about that later.
Attached are three scripts
01_config.pp
old style
defines variables in nodes
relies on dynamic scope
02_config.pp
broken
failed attempt to qualify variables
nodes are not classes
nodes cannot be named as a scope
03_config.pp
fixed, new style
all vari...