On Thu, 06 Jan 2011 13:49:56 +0100
Felix Frank wrote:

Hi Felix,

> > In our work, we're 4 people sharing a puppet server and puppet
> > structure. We define our definitions inside our classes, and
> > sometimes we see that some of we use same def but defined in its
> > our class (i. e. add_line definiton).
> > 
> > So, why ios the correct procdeure (or other's experince) to define
> > "shared" definitons?
> 
> First off, you *do* each work on distinct modules, right? So moving
> stuff to your init.pp is not going to inflict anything on your
> coworkers.
Yes, we do use our own modules. (our own vars and our own tree branch).
we also have a common part with common moduleswhich are included by
"default"...
 
> Apart from that - why would you require everyone to reinvent all the
> wheels? Why *wouldn't* you want to define a central add_line
> definition?
Mmmm... I'm not sure if I'm undesratnding you. We don't want to
reinvent the wheel, so I'm asking other admins if you use others
one code, and if yes, where do they (you) define this kind of things...
some king of common definition "available" in every module? 
 
> Regards,
> Felix
Cheers,
Arnau

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-us...@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