hi !
Description
it seems the salt extension cannot uninstall "essential module" like autoindex from apache as a2dismod requires "force" with -f
Setup
use the module to uninstall autoindex
it fails as a2dismod require -f
Steps to Reproduce the behavior
[~]: sudo a2dismod autoindex
WARNING: The following essential module will be disabled.
This might result in unexpected behavior and should NOT be done
unless you know exactly what you are doing!
autoindex
Expected behavior
we should perhaps add a force option to enable it to work on all module :)
here is a suggested patch
saltext-apache-force-a2dismod.patch
best regards,
Ghislain.