Hi
> I have the following example, but $testclass in testclass class can
> never be initialized. My guess is the testclass has already been
> load in the basenode so the assignment in node1 and node2 can never
> pass to testclass. Is it possible to delay the class load or if there
> any way to archive this?
exactly it is like that.
I throw any inheritance out of the nodes, as there it works different
from class inheritance and do them now in config classes. So I define
only variables in nodes and include only one class at the of a node.
this class then gathers all the other classes through inheritance etc.
this made it a practical solution for me.
a working solution for you would be to include testclass after setting
the variable in every node.
greets pete
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com
To unsubscribe from this group, send email to
puppet-users+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en
-~----------~----~----~----~------~----~------~--~---