salt.states.apache_module

Manage Apache Modules

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.disabled(name)

Ensure an Apache module is disabled.

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

Ensure an Apache module is enabled.

name
Name of the Apache module