On Wednesday 27 April 2011, Nicholas Leippe wrote:
> From a purely theoretical perspective (dunno if puppet allows you to
> do it this way), I would suggest a base class that only holds stuff
> that is in common between both configurations, then derive two
> classes--one for each variation. Then you don't have any chance of
> forgetting to override something and sending a bad config to the wrong
> place.

I have tried that before and puppet can do it.   But when I read about 
inheritance yesterday, I tried it this other way.  So either way works, I'm 
questioning which one way "better" or "more correct" as far as Puppet is 
concerned.


-- 
Jacob Albretsen
[email protected]
http://blog.knine.net/

/*
PLUG: http://plug.org, #utah on irc.freenode.net
Unsubscribe: http://plug.org/mailman/options/plug
Don't fear the penguin.
*/

Reply via email to