On Thu, Mar 19, 2009 at 10:12:39AM +0000, Bruce Richardson wrote: > This isn't an idle line of thought, by the way. There's obviously a lot > of interest in class/module dependencies, which are not easy to create > or test. Puppet would benefit from having a test for whether or not a > specific class has been included and, I think, for whether or not a > specific class *or one that inherits from it* has been included.
It's nice to find, though, that "require => Class[$classname]" will create a dependency on $classname *or any class that inherits from it*. I don't think that's documented anywhere - hope I can remember my username/password on the wiki. -- Bruce Bitterly it mathinketh me, that I spent mine wholle lyf in the lists against the ignorant. -- Roger Bacon, "Doctor Mirabilis" --~--~---------~--~----~------------~-------~--~----~ 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---