|
Re: Template Nodes considered harmful: msg#00275sysutils.puppet.user
On Wed, 2007-10-24 at 12:20 -0500, Luke Kanies wrote: > > (20:16:21) sheeri: certainly I can see the need for something being > > both > > a "webserver" and a "dbserver".......which I'd think multiple > > inheritance > > would be the way to go > > Inheritance only makes sense when you're talking about one class > needing to modify another class, which is generally not the case. The point of the above (or at list the pointy end I've run into) is that you may want to create a class 'fooserver' by combining 'webserver' and 'dbserver', and give people the opportunity to modify resources coming from either. That's not possible with single inheritance. David |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: 'Considered Harmful' Considered Harmful: 00275, David Schmitt |
|---|---|
| Next by Date: | Re: Template Nodes considered harmful: 00275, David Schmitt |
| Previous by Thread: | Re: Template Nodes considered harmfuli: 00275, Luke Kanies |
| Next by Thread: | Re: Template Nodes considered harmful: 00275, David Schmitt |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |