I''m in the process of refactoring some code and getting it ready for 3.0 in the process. I''m trying to better modularize things as well. I''ve got a general tomcat module, but I also have a number of tomcat related things that only apply to one class of appserver we have. What would be the best way of handling these? Should I create a module, say, teamname_tomcat and have it inherit from the main tomcat and put the various defines and classes needed for this one grouping of tomcat installs there? Though that would involve cross-module inheritance, which I understand to be A Bad Thing(tm). Though I guess I could just have it require / include the tomcat module. I''ve got a few other modules where a specific grouping of instances will have/need special defines and classes that the most instances won''t need. Any recommendations would be appreciated. Thanks. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/B2SvVLaG6koJ. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Hi, On 07/09/2012 08:17 PM, llowder@oreillyauto.com wrote:> What would be the best way of handling these?that''s really hard to say at this level of granularity. Can you name a typical example of what can differ among appserver classes? -- 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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Comments in line. On Tuesday, July 10, 2012 8:39:17 AM UTC-5, Felix.Frank wrote:> > Hi, > > On 07/09/2012 08:17 PM, llowder wrote: > > What would be the best way of handling these? > > that''s really hard to say at this level of granularity. > > Can you name a typical example of what can differ among appserver classes? >In one of our clusters we override/rewrite the tomcat init script and also also remove all of tomcat''s daily cron jobs, as we use a different logrotation scheme. Our standalone / special purpose tomcat instances use the default init script and logrotation methods. We do something similar with one of the apache clusters vs the handful of standalone / special purpose apache instances. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/Xh0gdZ2eY4kJ. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.