apache
¶
Support for Apache
Please note: The functions in here are SUSE-specific. Placing them in this
separate file will allow them to load only on SUSE systems, while still
loading under the apache
namespace.
- saltext.apache.modules.suse_apache.__virtual__()[source]¶
Only load the module if apache is installed.
- saltext.apache.modules.suse_apache.check_mod_enabled(mod)[source]¶
Checks to see if the specific apache mod is enabled.
This will only be functional on operating systems that support a2enmod -l to list the enabled mods.
CLI Example:
salt '*' apache.check_mod_enabled status