salt.states.apache_module

Warning

This module will be removed from Salt in version 3009 in favor of the apache Salt Extension.

Manage Apache Modules

New in version 2014.7.0.

Enable and disable apache modules.

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

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

Ensure an Apache module is disabled.

New in version 2016.3.0.

name

Name of the Apache module

salt.states.apache_module.enabled(name)

Ensure an Apache module is enabled.

New in version 2016.3.0.

name

Name of the Apache module