On Dec 1, 2011, at 8:49 AM, Peter Berghold wrote: > ... to invoke a template from multiple modules? Here is what I mean: > > I have a module called "postfix" which handles the installation and base > configuration of the postfix MTA. I have another module called > "spamassassin" which deals with the download and installation of the > Mail::SpamAssassin Perl module which incidently adds the init scripts for > SpamAssassin and the clamd binary. > > I'd like that spamassassin module to modify both the master.cf and main.cf > file of postfix to enable its own functionality. > > Rather than make SpamAssassin part of the postfix module I separated it out > since not all machines running postfix need to have the overhead of > SpamAssassin (eg. mailers behind the firewall that don't accept outside > email) but my border MX machines do. > > There's another module that needs to modify postfix's config files to be > enabled as well and that's the ClamAV module, I won't go into detail here. > > The problem I see is if each of them modify the configs, the postfix module > is going to remove the changes the other modules made. > > Is there a slick way of doing this? ---- I found this solution to be quite useful a few months ago
http://groups.google.com/group/puppet-users/browse_thread/thread/ea991b26562db42f/8660340196074a9f?lnk=gst&q=is+class%3F#8660340196074a9f Craig -- 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.