On Wednesday, May 21, 2014 11:44:43 AM UTC-5, Andre Nathan wrote: > > On Wednesday, May 21, 2014 1:14:31 PM UTC-3, Garrett Honeycutt wrote: > > >> Your usage of a base node that other nodes inherit is an anti-pattern >> though and will cause you grief as you grow. > > > Why is it an anti-pattern? Isn't variable inheritance supported? Why can't > I organize my nodes in sub-directories? It's something simple that greatly > enhances code organization. > >
Limited node inheritance is OK if you really understand what you're doing. Most people don't: node inheritance doesn't work the way they expect. The OO meaning of "inheritance" leads them in the wrong direction. Multiple levels of node inheritance are a particularly precarious: in addition to inheritance likely not working as you expect or want, a node inheritance hierarchy locks you into a single principle node taxonomy. Few real sites are well modeled by such a regime. John -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/14d69a52-b2dc-40cf-b291-5a3b90adae75%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.