salt.states.apache_module

Manage Apache Modules

New in version 2014.7.0.

Enable and disable apache modules.

Enable cgi module:
    apache_module.enable:
        - name: cgi

Disable cgi module:
    apache_module.disable:
        - name: cgi
salt.states.apache_module.disable(name)

Ensure an Apache module is disabled.

name
Name of the Apache module
salt.states.apache_module.enable(name)

Ensure an Apache module is enabled.

name
Name of the Apache module