You could emulate a2enmod's behavior (hey, it basically just makes a symlink in the proper place...) with a list of resources and then just restart apache. ;-)
--elijah On Mon, Jan 26, 2009 at 12:59 PM, kevin <lazy...@gmail.com> wrote: > > Hi, I need to bulk enable a series of apache modules on debian/ubuntu. > > on the server itself I would just use this invocation: ( works, not > sure about the style points ) > > perl -e 'print join " ", map { /^(.*?)\.load/ } <*.load>' | > a2enmod > > Now i just need to get puppet to do this for me, so i can restart > apache once instead of each time i add a module. > > how to execute this ? > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---