On Jul 5, 10:26 am, vagn scott <vagnsc...@gmail.com> wrote:
> Now, you can rewrite this using class {} instead of block{}.
> You probably have lots of classes in that style, and then you
> sequence things with  Class[ a ] -> Class[ b ].  How many of
> those classes only exist because there is no other block structure?
>
> I submit that if you make a class, it should be sensible to include
> it somewhere, as a class, representing something useful.
> We need blocks so we don't go around abusing classes.
>
> --
> vagn

Excuse the fuel for the fire...

A class in Puppet is just a group of objects that have some sort of
relationship - whether people are abusing classes or not depends on
one's point of view. The choice of the word "class" has been lamented
over before ;) To be honest I don't see much benefit in a block{}
structure, I just see it as avoiding the use of a class for people's
conceptual reasons.

-Luke

-- 
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.

Reply via email to