Commit Graph

10 Commits (b99cad412858951c557a8235e5ae4b2ba847669f)

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
9 years ago
Brian Coca 53c4827da5 added missing version_added 9 years ago
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
9 years ago
Brian Coca b0b4c56bd7 made output match multiline, as per posted code from @n0trax
fixes #2081
9 years ago
Roetman, Victor a81dea2b17 apache2_module documetation update
requires a2enmod and a2dismod
9 years ago
Greg DeKoenigsberg 2a5f0bde87 Proper author info for all remaining modules 9 years ago
Brian Coca 44ffe73e02 Merge pull request #117 from direvus/apache2-module-word-boundary
Add word boundary in apache2_module regexp
10 years ago
Toshio Kuratomi 477391bb24 Better error messages if a2enmod/a2dismod are not found 10 years ago
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.
10 years ago
Michael DeHaan c8e1a2077e file extensions! 10 years ago