RFC: remove apache2_module

Hi

I want to start a discussion whether the core module apache2_module should be removed or not, or be moved to extra

Why I vote to remove:

  1. The functionality of this module is limited to Debian OS family. (does a2enmod exists somewhere else?)
  2. The functionality can be easily replaced with command module:

command: a2enmod {{ item }} creates=/etc/apache2/mods-enabled/{{ item }}.conf
with_items: modules_enabled

command: a2dismod {{ item }} removes=/etc/apache2/mods-enabled/{{ item }}.conf
with_items: modules_disabled

  1. Less code, less bugs, less time for maintenance.

It seems that the Suse folks also include these, but with slight
differences in output.

Hi,

I want to start a discussion whether the core module*apache2_module*
should be removed or not, or be moved to extra

I strongly think not. It's a very useful module, is hardly a vast pile
of code to maintain, and means that we don't have to care about exactly
where enabled modules are kept (since a2{en,dis}mod do that for us).

1. The functionality of this module is limited to Debian OS family.
(does a2enmod exists somewhere else?)

SLES also has it, and what that version does is not the same as your
command-suggestion assumes - instead it changes entries in
/etc/sysconfig/apache2.

Regards,

Matthew