Displaying 1 result from an estimated 1 matches for "influence_genericwebserv".
Did you mean:
influence_genericwebserver
2007 Oct 16
30
Template Nodes considered harmful
...Digant, *!
Several times on the IRC channel I noticed people having problems getting to
grips with the interaction of scopes when using template nodes[1]. Typically
this looks thus:
| node genericwebserver { stuff }
|
| node ''web01.example.com'' inherits genericwebserver {
| $influence_genericwebserver = "other_stuff"
| }
Due to ''web01.example.com''s scope being "below" or "within" the scope of
genericwebserver, the defined variable never reaches the included resources
and thus never affects the template node as intended. Since template nodes --...