salt.states.apache_site

Warning

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

Manage Apache Sites

New in version 2016.3.0.

Enable and disable apache sites.

Enable default site:
  apache_site.enabled:
    - name: default

Disable default site:
  apache_site.disabled:
    - name: default
salt.states.apache_site.disabled(name)

Ensure an Apache site is disabled.

name

Name of the Apache site

salt.states.apache_site.enabled(name)

Ensure an Apache site is enabled.

name

Name of the Apache site