[Puppet Users] Re: Parameterized classes vs defined-types

2017-05-04 Thread jcbollinger
On Wednesday, May 3, 2017 at 4:35:02 PM UTC-5, Lesley Kimmel wrote: > > I've [somewhat] recently started developing Puppet modules for use with > Foreman[...] > I recently came across some modules on the Forge that got me considering > using modules with defined types exposing their functional

[Puppet Users] Re: Parameterized classes vs defined-types

2017-05-03 Thread Lesley Kimmel
I've [somewhat] recently started developing Puppet modules for use with Foreman and have gone through a couple iterations. At first I was developing a large, broadly-scoped module for a specific purpose. I soon found that in order to provide any amount of customizable behavior I would have to p

Re: [Puppet Users] Re: Parameterized classes vs defined-types

2011-08-24 Thread Digant C Kasundra
- Original Message - > On Aug 23, 1:00 pm, Digant C Kasundra wrote: > > Out of curiosity, how are people using parameterized classes in a > > way that is distinct from defined-types? > > I am _using_ defined types, that's how. > > Although I disfavor parameterized classes and do not us

Re: [Puppet Users] Re: Parameterized classes vs defined-types

2011-08-24 Thread Henrik Lindberg
On 8/24/11 3:46 PM, jcbollinger wrote: If you have an OO background then the words "class" and "type" may have connotations and implied similarity for you that just don't apply in Puppet. Puppet classes are not "types" in the type theory sense. Defined types are closer to that, but it may help t

[Puppet Users] Re: Parameterized classes vs defined-types

2011-08-24 Thread jcbollinger
On Aug 23, 1:00 pm, Digant C Kasundra wrote: > Out of curiosity, how are people using parameterized classes in a way that is > distinct from defined-types? I am _using_ defined types, that's how. Although I disfavor parameterized classes and do not use them, the pattern of my usage of defined