Commit graph

10 commits

Author SHA1 Message Date
n0trax
1eac4c5608 Add checkmode and reduce code duplication (#2417)
- httpd removed from control_binaries
- check for enabled module after running a2enmod/a2dismod
- fail, if user has no permissions to run control_binary
- reduce code duplication
2016-05-04 01:08:56 +02:00
Brian Coca
53c4827da5 added missing version_added 2016-04-19 17:45:36 -04:00
Pål Nilsen
eb6192c050 Add optional force parameter for apache2_module (#3251)
* Add optional force parameter for apache2_module

Fixes #2499

* Add documentation for the force parameter

* Clarify in description that -f(orce) is a Debian parameter
2016-04-19 17:44:08 -04:00
Brian Coca
b0b4c56bd7 made output match multiline, as per posted code from @n0trax
fixes #2081
2015-10-19 10:27:52 -04:00
Roetman, Victor
a81dea2b17 apache2_module documetation update
requires a2enmod and a2dismod
2015-06-26 14:50:29 -04:00
Greg DeKoenigsberg
2a5f0bde87 Proper author info for all remaining modules 2015-06-15 15:53:30 -04:00
Brian Coca
44ffe73e02 Merge pull request #117 from direvus/apache2-module-word-boundary
Add word boundary in apache2_module regexp
2015-02-16 18:54:00 -05:00
Toshio Kuratomi
477391bb24 Better error messages if a2enmod/a2dismod are not found 2015-01-13 23:18:04 -08:00
Brendan Jurd
6157a6552f Add word boundary in apache2_module regexp
Add a word boundary \b to the regexp for checking the output of a2{en,dis}mod,
to avoid a false positive for a module that ends with the same text as the
module we're working on.

For example, the previous regexp r'.*spam already enabled' would also match
against 'eggs_spam already enabled'.

Also, get rid of the redundant '.*' from the end of the regexp.
2014-10-02 16:32:30 +10:00
Michael DeHaan
c8e1a2077e file extensions! 2014-09-26 10:37:56 -04:00
Renamed from web_infrastructure/apache2_module (Browse further)