On 2/9/2009 5:34 PM, Eric Gerlach wrote: > If I want to configure a file, say /etc/network interfaces, on all of > my Debian boxes, should I put the resource definition in: > > a) manifests/classes/debian.pp > b) modules/debian/manifests/init.pp > > I guess I'm asking whether people here have configured modules for > classes of servers or not.
(b). I can't think of any reason not to make a module for a OS. Not sure what you mean by modules for classes of servers. I have modules for operating systems, that include classes for everything that is specific to that OS. I could include that module's classes from an overall class that covers all my systems (include $operatingsystem, for example). And if I have a server or group of servers that should provide a particular set of services, both my OS-specific and OS-neutral classes get included via either inheritance, explicitly in a service-specific class, or in the node definition itself. -- Mike Renfro / R&D Engineer, Center for Manufacturing Research, 931 372-3601 / Tennessee Technological University --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---